SshRemotePortForward


howto bind remote ports to local ports

http local port forward
binding remote 8888 port to local 'localhost' 80 port
$ ssh -L8888:localhost:80 myremoteusername@remote.server


you should then be able to get web pages on your remote server
$ wget localhost:8888


ssh local port forward
binding remote 8888 port to local 'localhost' 80 port
$ ssh -L2222:localhost:22 myremoteusername@remote.server


you should then be able to ssh at your remote server
$ ssh localhost -p 2222




REFERRERS
SshPortForward
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki