Print this page

Weblog

09/07/05

SSH connections timing out


Category: General
I've been using SSH to secure my online backups for quite a while now. I've been using both rdiff-backup and unison. I'm most fond of the first one, as it does incrementel backups allowing me to roll-back if I do something really stupid. Regardless of which system I use for backup on top of SSH, I have the same problem: The connection tends to time out. The result is that I never complete the backup process and only have partial backups of my system. This is, needless to say, not optimal. I haven't done any extensive testing of how long SSH sessions can be kept alive, but as far as I can tell, there is no connection between how long the sessions last. SSH keep-alive has been activated, but still doesn't help. It should be mentioned, that the upstream bandwidth of the system to backup (is that backupee ? :-) ) is 128kbit, whilst the downstream bandwidth of the system to backup to (backupper ? :-)) is 512kbit. The backup server (backupper) is behind a Cisco 677 ADSL Router, with port 22 forwarded to it. If I just could figure out, which component is causing the timeout... Any suggestions?

Modified: Wed 19-Dec-07 15:33:50 PST