Yannis Tsopokis web site

Let the programmers be many and the managers few -- then all will be productive....


SSH port forwarding

Here you can find out how to use ssh for secure port-forwarding (like a VPN alternative).

There is a presentation (both in english and Greek) that shows ssh -L and its use,

Encypted tunnels

Linux script: tunnel.sh
Description: create an ssh tunnel through a gateway.

Usage:
    tunnel [user@]gateway target port [source-port [ssh-port] ]
    tunnel -s    - list all open tunnels, you can also use --show


And for those that still use windows (are there any?), here is a batch file tunnel.bat. The only difference with the linux script is that you have to give both source-port and ssh port, there is no sanity check and show is not implemented! You need plink to use it.