Showing posts with label passwordless login. Show all posts
Showing posts with label passwordless login. Show all posts

Sunday, February 27, 2011

Setting up a permanent ubuntu SSH tunnel

My home system is behind a router I do not control (yet :). This means port forwarding so I can remotely reach my machine might seem impossible. Or not....
All you really need is a good (trustworthy) friend with his own server, and a little ssh tunneling magic.

Today I'll make a permanent password less (auto)ssh tunnel that binds local port 22 (ssh) to 11122 on a remote machine, so that when i login to the remote machine from anywhere, all i have to do is ssh to port 11122 and voila, i'm on my own supposedly unreachable server.