|
Port forwarding
This script forwards a couple of ports. It
can be used to tunnel through a firewall, at least, that's the way I use
it.
If you want to make it really easy for yourself, just edit your
~/.ssh/config and add the following lines for each host you want to be
able to ssh to:
Host remotehost
Port xxxx
If you now add remotehost to the 127.0.0.1 line in your
/etc/hosts you can connect to the remotehost as easily as any
other host.
|