Difference between revisions of "Ssh tunnel scratch"

From thelinuxwiki
Jump to: navigation, search
(Pushed from Themanclub.)
 

Latest revision as of 16:39, 12 April 2013

reverse tunnel on a check point splat / secureplatform R75.40 device

the ssh client is older (openssh-3.6.1p2-33.30.39cp) and less functional. Doesn't support a remote bind address

[Expert@chkpfw]# ssh --help
...
-R listen-port:host:port   Forward remote port to local address

Example command:

 ssh -f -N -R 10022:192.168.1.1:22 username@192.168.1.1

compared to OpenSSH_6.1p1-hpn13v11, we can see the remote bind address option below in modern openssh implementation that is missing.

man ssh
...
-R [bind_address:]port:host:hostport