I use
ssh -D 1080 myhost.org
...to open up an SSH tunnel from my work machine to my home machine, so as to bypass the idiotic content filter on the corporate firewall. However this also creates an interactive SSH session that lives the whole time I'm using the tunnel. Is there any way to tell SSH just to create the tunnel and not bother with the interactive session?
Seems like you want the -N flag.
from ssh manpage:
I've typically found this to be better because it not only stops listening to commands, but also goes into the background.