delay after ssh'ing into a server



I am having an odd problem with one of my RHEL servers. When I issue the command to ssh into it:

$ ssh aa

there is a 30 second delay before I get the password prompt. I tried deleting the appropriate line in ~/.ssh/known-hosts and trying it again, but I still got a 30 second delay before I got this message:

The authenticity of host 'aa (10.1.5.93)' can't be established.
RSA key fingerprint is <a:long:hex:number>.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aa,10.1.5.93' (RSA) to the list of known hosts.

This is what the log looks like during this time:

Oct 5 14:52:30 aa xinetd[3098]: START: ssh pid=23524 from=10.1.5.58
Oct 5 18:53:12 aa sshd[23567]: Accepted password for bjt from 10.1.5.58 port 32818 ssh2
Oct 5 14:53:12 aa sshd[23524]: Accepted password for bjt from 10.1.5.58 port 32818 ssh2

Notice the 42 second time delay. The first line appeared in the log just after I send the "ssh aa" command.

I must have done something to make the system delay after receiving the connection request, but I can't imagine what. Googling turned up nothing for me.

Any ideas?

Bill Tangren

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: Really need help on this one
    ... Is there a way to read the output of a particular command into ... Heres a better example using ssh. ... set timeout $timeout ... exec kill -9 $pid ...
    (comp.lang.tcl)
  • Re: OT: Hard disk mirror with Paragon on USB stick?
    ... at least two pages of intricate command line stuff. ... The password is only used when you want to backup to a remote machine ... via the network, using the ssh protocol. ... (e.g. with linux, ...
    (sci.electronics.design)
  • RE: midnight commander and ssh sftp
    ... midnight commander and ssh sftp ... which is displayed at the bottom of the MC panel. ... "Left file command options right" at the top of the MC ... MC SSH session with the remote host by hitting F10 key. ...
    (freebsd-questions)
  • Re: sshd and ftpd
    ... ssh keys, so when you log in it doesn't ask for one. ... we want to be able to connect to our remote host without ... If you used the defaults supplied by the ssh-keygen command, ...
    (Ubuntu)
  • Re: [Info-ingres] problems with ssh
    ... Check the SSHD log on the server for errors. ... ancient version of SSH, unfortunately. ... the command seems to have functioned - but just wont terminate and leaves a process hanging around. ... Duckman: You got anymore of those glues? ...
    (comp.databases.ingres)