Another blog @ http://sskaje.me/
#!/bin/sh export AUTOSSH_PATH=`which plink` `which autossh` -M 5122 -N -R 12345:127.0.0.1:22 -pw blahblah root@10.***.***.*** 2>&1 >/dev/null &
chattr +i /root/bin/plinkssh.sh
/bin/sh /root/bin/plinkssh.sh
No comments:
Post a Comment