[TriLUG] SSH config for remote command

Alan Porter porter at trilug.org
Wed Jun 4 19:58:03 EDT 2008


Install netcat on the firewall, and add an entry like this to
your $HOME/.ssh/config:

Host bob
     ServerAliveInterval 60
     Hostname bob
     ProxyCommand ssh user at firewall nc -w 1 %h %p 2>/dev/null

Alan





.



More information about the TriLUG mailing list