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. ls & rm with regular expression e.g. rm -rf backup-20070[8-9]-* would delete : backup-200708-morning backup-200708-evening backup-200709-night...
  3. Exim – anti-spam per domain setting acl_check_rcpt: blah … blah … blah … deny message =...
  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. convert epoch using date command date -d ‘<Unix epoch> <epoch date> sec’ e.g. date -d...
  6. sed with multiple criteria sed -e 1d -e 50d -e ‘/junks/d’ would remove first...
  7. run sql/queries (postgres) within bash e.g. for things-to-buy in $(psql -d database-name -U username -c...
  8. screen in FreeBSD default to csh as suppose to bash (preferred) After changing bash shell to a new user using chsh,...
  9. MySQL Cannot Connect with PHP in OSX I think some of you might have problem connecting to...
  10. Forget / forgot / cannot remember root password On a FreeBSD server 1. reboot server 2. choose to...

Leave a Reply