Ssh/ftp frequent timeout


#1

When I connect to dreamhost via ssh or ftp, my connection times out whenever I go idle for even just a couple minutes. For ssh I’m using SSH Secure Shell and for ftp I used FileZilla (the keepalive option didn’t help at all). I am also behind a NAT router and software firewall.

Here are my traceroute results to dollar.dreamhost.com:

1 <1 ms <1 ms <1 ms 192.168.2.1

2 8 ms 9 ms 7 ms 10.70.128.1

3 7 ms 6 ms 8 ms tssdca1-rtr1-ge2-1.san.rr.com [24.25.192.214]

4 7 ms 8 ms 7 ms WCSDCA1-GSR1-SRP0.san.rr.com [24.25.196.1]

5 8 ms 8 ms 8 ms wcsdca1-gsr3-srp8.san.rr.com [24.25.196.42]

6 10 ms 8 ms 9 ms so-0-0-0-0.gar1.SanDiego1.Level3.net [209.0.8.1]

7 75 ms 54 ms 99 ms so-7-0-0.mp1.SanDiego1.Level3.net [4.68.113.93]

8 13 ms 15 ms 21 ms as-2-0.bbr1.LosAngeles1.Level3.net [64.159.1.30]

9 122 ms 211 ms 11 ms ge-1-2-54.car1.LosAngeles1.Level3.net [4.68.102.98]

10 11 ms 11 ms 11 ms ge1-L3.dreamhost.com [4.78.192.66]

11 13 ms 13 ms 11 ms dollar.dreamhost.com [205.196.218.5]

Running mtr -n -c2000 to my IP from dollar yields:

Hostname %Loss Rcv Snt Last Best Avg Worst

  1. 66.33.192.1 0% 40 40 0 0 0 1
  2. 67.17.162.161 0% 40 40 0 0 0 12
  3. 67.17.67.169 0% 40 40 0 0 0 9
  4. 66.185.148.49 0% 40 40 21 0 9 146
  5. 66.185.137.162 0% 40 40 0 0 25 176
  6. 66.185.137.131 0% 40 40 0 0 6 128
  7. 66.185.143.6 0% 40 40 0 0 0 1
  8. 24.25.193.29 0% 40 40 4 4 4 4
  9. 24.25.196.23 0% 40 40 4 4 4 5
  10. 24.25.192.213 0% 40 40 5 5 6 24
  11. ???

I also checked the server uptime and it’s been up for over 17 days, so that’s not the reason I keep getting disconnected. I’ve also changed my router to allow WAN-side pings but that didn’t help either (except hop 11 shows my IP instead of the ???). I’m pretty new to this so I’m not sure what I could be doing wrong. Is there anything I need to do to prevent the timeouts from happening?


#2

well, i will tell you my experiences have been rather frustrating with a similar (server side) time out issue. I seem to think it has something to do with if you have a very large site (mine is over 3500 files)…quick couple of questions for you:

  1. Do you use Win XP Pro and if so, have you “disabled” their software firewall?

  2. Do you run NAV or NPF? and if so, do you turn them off prior to uploading? btw, if you do use Symantec stuff, you are in for a very difficult time because even when you turn off symantec stuff, it still does some background functions that can interfere with uploads.

If all that is a go, you can “attempt” to ask DH to up the ante on the timeout values, but i wouldnt hold my breath…they seem to prefer client side workarounds…

IAmAtMyWitsEnd


#3

“1. Do you use Win XP Pro and if so, have you “disabled” their software firewall?”

I do use WinXP Pro and have the default firewall turned off (it’s pretty pointless when I have a router). I do have Kaspersky Anti-Hacker though.

“2. Do you run NAV or NPF? and if so, do you turn them off prior to uploading? btw, if you do use Symantec stuff, you are in for a very difficult time because even when you turn off symantec stuff, it still does some background functions that can interfere with uploads.”

I used to have NIS but have since uninstalled it. I now use Kaspersky Anti-Virus. However, that doesn’t interfere with ssh or ftp when I’m uploading a large number of files at once (my site is still pretty small though as I’m just getting started and figuring things out). My problem is that my connection times out after a couple minutes once I’m done uploading files or using the shell.

I wouldn’t mind reasonable clientside workarounds if that’s possible. I just have no idea why I keep getting disconnected when I go idle.