Search This Blog

Thursday 30 June 2011

ssh tunnel set up

server:
edit the file /etc/ssh/sshd_config

check that port-forwarding has not been disabled server-wide in /etc/ssh/sshd_config verify that
AllowTcpForwarding is set to yes (default setting is yes)

client:
use the following syntax
ssh -L localPort:remoteHost:RemoteHostPort sshServerHost

No comments:

Post a Comment