GoogleCloudDataproc / bdutil

[DEPRECATED] Script used to manage Hadoop and Spark instances on Google Compute Engine
https://cloud.google.com/dataproc
Apache License 2.0
109 stars 94 forks source link

gcloud compute ssh tunneling refusing connection #102

Open joysanp opened 7 years ago

joysanp commented 7 years ago

Hello,

I'm trying to set up a secure ssh tunnel by running this command in the terminal gcloud compute ssh --zone= \ --ssh-flag="-D 1080" --ssh-flag="-N" --ssh-flag="-n" Then chrome \ --proxy-server="socks5://localhost:1080" \ --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE localhost" \ --user-data-dir=/tmp/ to access Ambari UI page.

The ssh debug says: channel 7: open failed: connect failed: connection refused.

Any idea what is going wrong or where am I making mistake?

Thanks in advanced.

conradlee commented 6 years ago

I'm sometimes running into the same problem when I try to connect to tunnel through to port 8080 on a dataproc cluster (to connect to the zeppelin server). It's a flakey problem. The ssh debug also gives me errors like "channel 14: open failed: administratively prohibited: open failed". I can use the ssh tunnel to view the hadoop service on port 8088.