Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to reproduce basic example #15

Open
alexhrescale opened this issue Aug 18, 2019 · 1 comment
Open

Unable to reproduce basic example #15

alexhrescale opened this issue Aug 18, 2019 · 1 comment

Comments

@alexhrescale
Copy link

alexhrescale commented Aug 18, 2019

I think this is on the level of complexity as Example 1 in the README.

The setup is as follows:

  1. set up container
git clone https://github.com/NII-cloud-operation/sshkernel
cd sshkernel
docker build . -t sshkernel
docker run --rm -it -p 8888:8888 sshkernel /bin/bash
  1. set up passwordless ssh from container to host, and create the ssh-config in the container
# in container
ssh-keygen -t rsa -b 4096
cat ~/.ssh/id_rsa.pub  # add this to ~/.ssh/authorized_keys on host
cat > ~/.ssh/config <<EOF
Host myserver
  HostName 172.17.0.1  # IP of docker host
  User uprod_asFLeb   # username of docker host
  Port 22
  IdentityFile ~/.ssh/id_rsa
  ForwardAgent yes
EOF
chmod 600 ~/.ssh/config
  1. start the notebook server jupyter notebook --no-browser and connect to it from the host, on port 8888

We can now launch a new notebook. Here is the operation and the connection failure:
image

@m-ueno
Copy link
Contributor

m-ueno commented Aug 20, 2019

Thank you for your report.

I tried to reproduce the issue, but it worked correctly.
My environment is Ubuntu 18.04, Docker CE 18.09.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants