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