PDA

View Full Version : Wierd SSH problem



MorskNorsk
10-17-2003, 06:00 AM
I recently fsckd my old RedHat 7.3 install. Luckily none of my data was lost and I installed Knoppix on the machine. The only problem I'm having is with SSH. Everything works fine but if I leave the connection idle for a time and then start typing there will be a delay before any data is sent to the receiving machine of a little over ten seconds. Needless to say this is quite annoying. I've looked through all the ssh and sshd options and even checked my old RedHat config files (didn't have the issue with RedHat) but haven't been able to determine the cause. There shouldn't be any latency since both machines are on the same network. This doesn't happen on other remote machines that I've tried. Both boxes are pretty identical in configuration (both Knoppix :)) with the same version of ssl and OpenSSH_3.6.1p2 Debian 1:3.6.1p2-9, SSH protocols 1.5/2.0. Any ideas?

rneff
10-17-2003, 06:02 PM
Is it that you leave the connection idle, or the whole comptuer idle?

Maybe some other proscess is hogging resources while ssh is idle, and it takes a while to return the resources when ssh askes for them. I do not thing it is a network/protocol problem.

Keep me informed.

rneff
10-17-2003, 06:03 PM
You could try nice and renice (ing) ssh.

MorskNorsk
10-18-2003, 06:03 AM
Thanks for the reply. This problem happens when the load on the machine is pretty much sitting at 0 and the whole machine is not idle, I've just let the connection sit for a while without typing anything.

I don't think nice would have any effect since the process has more than enough resources to work with.

One other interesting thing to note is that it only happens when I ssh from my notebook to my desktop but not vice-versa.