I attended my very first real life auction yesterday. The Helsinki Lost Property Office once again arranged their monthly auction to get rid of a bunch stuff that has been collecting dust in their shelves for over three months without anyone claiming them. Bad for the losers, good for the Office and people looking to buy cheap pigs in a poke. As a real auction-noob, this is of course exactly what I did.
Monthly Archive for April, 2009
Every once in a while I need to set up a temporary SSH tunnel from one computer to another, possibly via a third one, and can’t be bothered with configuring any of my otherwise frequently used GUI tools ‘SSH Tunnel Manager’ for OS X or ‘SSH Tunnel’ on Win XP. Each time, however, I end up reading the man page for the ssh command or googling for ’ssh tunnel linux’ or something similar, since I never seem to remember how to set up a simple SSH tunnel on the command line. The ssh man page is especially unhelpful:
-L [bind_address:]port:host:hostport
What? Which port goes where? And what’s the bind_address and hostport? If you read the explanation of the switch you’ll probably just become even more confused. After a few trials and errors I usually get my SSH tunnel up and running, but most of the time I’m not quite sure what I’ve really done.
So here’s a note to self on how to do this once and for all.