bdutil icon indicating copy to clipboard operation
bdutil copied to clipboard

gcloud compute ssh tunneling refusing connection

Open joysanp opened this issue 7 years ago • 1 comments

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.

joysanp avatar Jul 11 '17 19:07 joysanp

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.

conradlee avatar Feb 09 '18 09:02 conradlee