# useradd ftun # su - ftun $ ssh-keygen -trsa Your identification has been saved in /home/ftun/.ssh/id_rsa. Your public key has been saved in /home/ftun/.ssh/id_rsa.pub. $ scp ~/.ssh/id_rsa.pub ftun@fr-wd.com:.ssh/authorized_keys install /home/ftun/bin/check_ssh_tunnel.sh add cronjob #*/1 * * * * /home/ftun/bin/check_ssh_tunnel.sh >> /dev/null 2>&1 &