SSH Tunnell

I spent lot of time trouble shooting SSH tunnel problem.
I thought to jot down the notes for my future reference
The dynamic ssh tunnel can be set by simple command
ssh -vvvvv -D port username@remotehost
Example
sss -vvvvv -D 9999 jagatsingh@10.20.30.40
Now i firefox use the
Socks 5 proxy setting as
localhost 9999
Keep in mind of unselect all other proxy , e.g HTTP , HTTPS etc
I spent lot of time wasting on this

Errors
channel 2: open failed: administratively prohibited: open failed
debug2: channel 2: zombie
Resolution steps
Check on
/etc/ssh/sshd_config
On the remote host that you have enabled
TCP forwarding.
AllowTCPForwarding yes


The webpage below is good reference
http://www.slashroot.in/ssh-port-forwarding-linux-configuration-and-examples

No comments:

Post a Comment

Please share your views and comments below.

Thank You.