Code as Fast as You Can Think
"I have only proved my code correct, not tested it" - Donald Knuth
Search This Blog
Thursday, May 5, 2011
Useful Commands, a script to keep your ssh session alive
Sometimes you don't have the permission to modify your sshd.conf. Just run a simple scrip forever to keep your ssh session alive:
sh -c 'while echo "alive" > /dev/null; do sleep 20; done' &
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Unknown
View my complete profile
No comments:
Post a Comment