This is a new problem, but I have no idea what has brought it on.
I have two local clients (Windows/Cygwin and Linux/SL6.6, on the same IP address behind NAT), both making ssh connections to the same remote server (Centos 5.6), for the same user.
ssh always works perfectly from the Cygwin client, but it has started hanging on the Linux client. It's slow to connect to the remote server and, if it does connect, it hangs after a few seconds. If I type in 3 or 4 commands in quick succession (
uname -a, for example), then the local terminal (
konsole) hangs half-way through the command output. I can get back out of ssh with the normal
- On the SL6.6 client, I have a
.ssh/configfile which sets
ServerAliveIntervalto 240 for all hosts
- Both the local clients (Cygwin and SL6.6) use key authentication; the SL6.6 client still has this problem with password authentication
yum update opensshsays that the SL6.6 client and the server are both up-to-date
- The server never auto-updates, but the SL6.6 client might potentially have auto-updated something that I didn't notice
- The SL6.6 client produces debug error messages when trying to authenticate with gssapi, but
ssh -o GSSAPIAuthentication=nodoesn't help
/var/log/secureshows exactly the same mesage whether I log in from Windows or Linux: same user, same IP address (different port), 'accepted publickey'
- Load average 0.00, 0.00, 0.00
since the same user is logging in from Windows or Linux, the standard answers (see here, for example) don't seem to apply. Any ideas? Thanks.