111 reputation
bio website webkist.com
location Philadelphia, PA
age 41
visits member for 5 years, 10 months
seen Nov 12 '12 at 19:06
Perl & Apache. Bash & mod_rewrite. Film cameras & bourbon.

comment What is the purpose of netcat's “-w timeout” option when ssh tunneling?
The "ServerAliveInterval 30" setting tells SSH to ping the server every 30 seconds. That traffic prevents netcat's 90 second timeout from killing an active connection. When you do kill the ssh connection the pings stop, allowing netcat's timeout to kill the process a few minutes later.