SSH tunneling/port-forwarding tricks

Here are a few tricks about SSH tunnels I don't want to forget.


ssh tunnelling with Telepathy and ssh-contact

I needed to connect remotely to my brother's computer to help him fix something, in the past I relied on the X Windows protocol for these things: the people I was helping just needed to open a remote xterm on my screen (with $ xterm -display my.public.ip.address:0.0) to let me operate on their system , it was insecure —no encryption in the communication— but it was one simple command for them to copy and paste as I were putting on my end all the boring details about port forwarding and access control, but this time I wanted to try something different.