http://www.g-loaded.eu/2006/11/24/auto-closing-ssh-tunnels/
The best way - Tunnels that auto-close
SSH Without a Password
http://www.csua.berkeley.edu/~ranga/notes/ssh_nopass.html
The following steps can be used to ssh from one system to another without specifying a password.
Notes:
Syntax for running command on a remote host:
ssh [USER-NAME]@[REMOTE-HOST] [command or script]
http://www.cyberciti.biz/tips/linux-running-commands-on-a-remote-host.ht...
Where,