If you connect to servers via SSH or SFTP you may get disconnected by your router which can lead to having to log back in dozens of times throughout a days work.
There is a system-wide fix that you can apply using Terminal in OS X 10.4 and 10.5.
Drawing on Almaer.com's suggestion here is what I discovered:
- enable your root user (sudo passwd root) and su -
- open the file /etc/ssh_config in a text editor like pico
- Add this line to your config file: ServerAliveInterval 300
keywords: Keepalive, timeout, ssh, os x tiger, os x leopard, Terminal, Transmit, Fetch, MacSFTP Carbon, Fugu
Posted by Aaron R. Deutsch on December 7, 2007 | Comments (0)