ssh client hang after a few minutes of inactivity

specify the parameter “ServerAliveInterval 60″ in /etc/ssh_config or /etc/ssh/ssh_config.

for more info, man ssh_config

Related posts:

  1. split – but no destination parameter to specify first : cd /destination/directory second : split /source/directory/big-huge-file prefix-to-apply-onto-splited-files Voila...
  2. MySQL Cannot Connect with PHP in OSX I think some of you might have problem connecting to...
  3. convert epoch using date command date -d ‘<Unix epoch> <epoch date> sec’ e.g. date -d...
  4. How to dig SRV record after creating it in DNS dig <record type> <host.name> e.g dig SRV _someservice._port.hostname.domainame.com.my OR dig...
  5. Problem Upgrade Apache2 on MacPorts I was trying to upgrade apache2 on my Macports but...
  6. ls & rm with regular expression e.g. rm -rf backup-20070[8-9]-* would delete : backup-200708-morning backup-200708-evening backup-200709-night...
  7. Install MySQL5 on Mac OSX With Darwin Port Before installing MySQL5, please be sure you have Darwin Port...
  8. TextMate: Creating New Project in Shell Instantly Been using TextMate recently, really loving it like hell. There...
  9. postgresql82-server compile error on Apple Leopard with Macports 1.5 I wasn’t able to compile postgresql82-server on my machine, it’s...
  10. Mac OSX iTerm: Arrow Key Not Working in VI/VIM If your arrow keys are not working with iTerm during...

Tags: , ,

Leave a Reply