Support Questions
Find answers, ask questions, and share your expertise

Error in SSH Tunnelling

Error in SSH Tunnelling

Rising Star

Hi,

Deploying the hortonworks sandbox on azure, I faced issue in ssh tunneling section.

vi ~/.ssh/config This has permission issues which was resolved using sudo command
Following which I got struck with ssh azureSandbox / Bad owner or permissions on /home/freedom/.ssh/config. I resolved this step by chmod 600 ~/.ssh/config
Now I am struck with this error - Please advice to move forward.
[freedom@sandbox testing]$ ssh azureSandbox
Password:
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 8080
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 8888
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 9995
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 9996
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 8886
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 10500
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 4200
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 2222
Could not request local forwarding.
Last login: Wed Apr  5 18:48:00 2017 from 74.115.192.4



3 REPLIES 3

Re: Error in SSH Tunnelling

@Mothilal marimuthu

That happens when local ports are already bounded. Could you make sure that you don't already have an SSH connection open? Maybe in a different shell somewhere?

Also, thanks for pointing out the .ssh/config issues! That would be a good note to add to the tutorials

Re: Error in SSH Tunnelling

Rising Star

I am still facing this issue - Any support for resolution. How do I revert back and ensure my local ports are used for my sandbox. Describing the issue again - I was implementing the azure cloud deployment of HDP sandbox and faced above error, later when I had my local setup of sandbox on a virtual box - then I am unable to access 127.0.0.1 and respective ambari or zeppelin ports - Please advise as I need my local sandbox to work and ignore the azure stuff.

Re: Error in SSH Tunnelling

New Contributor

Hi, any solution for this issue ? Even I am facing the same !