Re: sshd -i startup time



Nico Kadel-Garcia wrote:
Joseph Shraibman wrote:

When I run sshd from xinetd, it takes 30 seconds for the password
prompt to appear. sshd is not using up cpu in this time. What is is
doing?

Running sshd -i -d -d -d give me:

Feb 14 16:58:12 d1 xinetd[725]: START: sshd pid=4888
from=66.166.198.124
Feb 14 16:58:42 d1 sshd[4888]: debug1: inetd sockets after dupping:
5, 6 ...

This is OpenSSH_3.5p1


That's pretty seriously out of date. Try doing it twice in a row: if it doesn't happen the second time, the server is reverse-resolving the IP address of the connecting client, and your client doesn't have reverse DNS set up. This is preventable on the server by using the "sshd -u0", which prevents it from trying to log that reverse DNS name.


Nope, that doesn't help. And "host 66.166.198.124" comes back right away, so that isn't it.
.



Relevant Pages

  • Re: sshd -i startup time
    ... sshd is not using up cpu in this time. ... the server is reverse-resolving the IP ... address of the connecting client, and your client doesn't have reverse DNS ...
    (comp.security.ssh)
  • Slow sftp transfer speed vs ftp
    ... with Solaris 9) I am transfering at 300 kb/sec. ... on both client and server. ... # The sshd shipped in this release of Solaris has support for major versions ... # Banner to be printed before authentication starts. ...
    (SunManagers)
  • Re: ssh_exchange_identification uClinux problem
    ... By default sshd does not let root login into a server. ... Connection closed by foreign host. ... inetd started sshd or logged an error. ...
    (comp.security.ssh)
  • OpenSSH 3.6.1p2 Inoperability Issue
    ... I am running a Linux Debian server at home, ... sshd will not accept connections. ... passwords, even if it is correct, is just says access denied. ... # Kerberos TGT Passing only works with the AFS kaserver ...
    (SSH)
  • Re: ssh going zombie
    ... on the server kill the ssh server then restart it with the -d flag to put ... it into debug mode. ... and the ssh process hogs the processor on the server. ... subprocess is removed from the sshd config file the a sub sshd process ...
    (SSH)