Re: delay after ssh'ing into a server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
You should have a look at your authentication configuration. May be your
system is attemting to authenticate through LDAP or SAMBA before trying
a local authentication. And it is getting timeouts for those attempts.
Have a look at your /etc/ldap.conf or /etc/openldap/ldap.conf
Regards

Le vendredi 06 octobre 2006 à 11:51 -0700, Stephen Carville a écrit :

> Bill Tangren wrote:
> > Stephen Carville wrote:
> >> Bill Tangren wrote:
> >>> Stephen Carville wrote:
> >>>> Bill Tangren wrote:
> >>>>> Mahesh Pokala wrote:
> >>>>>> Check /etc/resolv.conf  for valid dns entries
> >>>>>> Check /etc/nsswitch.conf  for valid entries.
> >>>>>>
> >>>>>
> >>>>> I don't see anything unusual in them, and I haven't changed them. 
> >>>>> Also, they are the same as the same files on the other servers, and 
> >>>>> those servers don't have this problem. I've tried this from several 
> >>>>> different servers. I've also asked others to try, and they have the 
> >>>>> same problem.
> >>>>
> >>>> try ssh -vv user@wherever to see where the hang is happening.
> >>>
> >>> [root@eunomia ~]# ssh -vv bjt@aa
> >>> OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
> >>> debug1: Reading configuration data /etc/ssh/ssh_config
> >>> debug1: Applying options for *
> >>> debug2: ssh_connect: needpriv 0
> >>> debug1: Connecting to aa [10.1.5.93] port 22.
> >>> debug1: Connection established.
> >>> debug1: permanently_set_uid: 0/0
> >>> debug1: identity file /root/.ssh/identity type -1
> >>> debug1: identity file /root/.ssh/id_rsa type -1
> >>> debug1: identity file /root/.ssh/id_dsa type -1
> >>>
> >>> Then the 30 second pause... then
> >>
> >> Still looks like name resolution problem.  Just for S&G try putting 
> >> yoru machine and IP address in /etc/hosts and make sure yout host line 
> >> in nsswitch.conf includes files.  AKA:
> >>
> >> hosts:    files dns
> >>
> > 
> > I already had "hosts:    files dns" in /etc/nsswitch.conf, and I added
> > 
> > 10.1.5.154    eunomia.usno.navy.mil    eunomia
> > 
> > to /etc/hosts. I then restarted network just to make sure the hosts file 
> > was reread. No change. There is still a 30 second delay.
> > 
> 
> I'm about out of ideas.  Do you have access to the server?  If so you 
> can run increase the LogLevel temporarily to DEBUG3 (lots of stuff 
> dumped to logs so don't leave it that way).  Or you can shut down the 
> regular sshd and start one of Debug mode (-D).  From your domain name I 
> suspect the above might be out of the question :-)
> 
> For details see
> man sshd
> man sshd_config
> 
> -- 
> Stephen Carville <stephen@xxxxxxxxxxxxxx>
> Unix and Network Admin
> Nationwide Totalflood
> 6033 W. Century Blvd
> Los Angeles, CA 90045
> 310-342-3602
> 
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux