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

SSH tunnel error #22

Closed
tuanavu opened this issue Jan 14, 2016 · 4 comments
Closed

SSH tunnel error #22

tuanavu opened this issue Jan 14, 2016 · 4 comments
Assignees

Comments

@tuanavu
Copy link

tuanavu commented Jan 14, 2016

I am following the tutorial to install Jupyter Notebook in Dataproc.
https://cloud.google.com/dataproc/tutorials/jupyter-notebook

This step give me an error:

gcloud compute ssh  --zone=<master-host-zone> \
  --ssh-flag="-D 1080" --ssh-flag="-N" --ssh-flag="-n" <master-host-name>
  • Error:
ssh: unknown option "-D 1080"
ssh: unknown option "-n"
@chimerasaurus
Copy link
Contributor

Hi @tuanvu216

Sorry for the delayed response here. What OS are you using? I cannot replicate this error on OS X or Ubuntu. Also, you're using the Cloud SDK to SSH as well, right?

James

@tuanavu
Copy link
Author

tuanavu commented Jan 27, 2016

Hi @evilsoapbox

It is Windows 7. And yes, I am using the Cloud SDK to SSH. As you can see I am using the gcloud command to SSH.

Thanks,
Tuan

@ipostanogov
Copy link
Contributor

The following command works fine @ Windows 7:

gcloud compute ssh --zone=<master-host-zone> \
  --ssh-flag="-D" --ssh-flag="1080" --ssh-flag="-N" <master-host-name>

@dennishuo
Copy link
Contributor

Tested and updated document to reflect the split flags, thanks! https://cloud.google.com/dataproc/tutorials/jupyter-notebook#create_an_ssh_tunnel

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

No branches or pull requests

4 participants