
At my work for security reasons we access some of internal services (eg. irc chat server) via ssh tunnel. Generally, setting up an ssh tunnel (a.k.a. secure port forward) on any UNIX type system having openssh client takes one simple command:
$ ssh -L 6667:localhost:6667 user@server
and entering a system password.
However, I like to close my MacBooks’ lid occasionally or reboot the Book and I really hate (and forget) to reconnect the tunnel every time connection breaks or Book is restarted so encouraged by a colleague, I decided to do something about it. The result is – few simple steps and the tunnel is available permanently. Continue reading →