sshd_config / failed authentication

Fabian Anklam greatnorthern at gmail.com
Mon Jan 31 00:00:56 PST 2005


On Fri, 28 Jan 2005 16:53:05 +1300, Nigel Wohlers <nigel at eyede.com> wrote:
> Sorry, that's all the info I have on the subject, I recall a similar
> issue I encountered a while ago and that seemed to be the cause.  Was
> just my initial postulation.
> 
> 
> Fabian Anklam wrote:
> > On Fri, 28 Jan 2005 16:31:24 +1300, Nigel Wohlers <nigel at eyede.com> wrote:
> >
> >>What is the value of "LoginGraceTime"?
> >>
> >>SSH will try to do a reverse lookup on the IP connecting to it and if
> >>that times out before "LoginGraceTime" then your client (putty) will get
> >>booted and SSH will report the failure to syslog.
> >>
> >>
> >>Fabian Anklam wrote:
> >>
> >>>>Reverse DNS lookup timeout?
> >>>>
> >>>>N
> >>>>
> >>>
> >>>
> >>>Authentication seems to be the problem, not connection, care to elaborate?
> >>>
> >>>Thanks,
> >>>
> >>>Fabian
> >>
> >
> > LoginGraceTime was left at default value (2 minutes iirc). Adding the
> > Windows box to /etc/hosts doesn't resolve the problem.
> >
> > sshd writes
> >
> > sshd[procid]: fatal: Timeout before authentication for windows.box.ip
> >
> > to /var/log/messages
> >
> > Fabian
> 

Hi Nigel, sorry for brushing your suggestion off so quickly. SSHD
trying a reverse DNS of the (private IP) ssh'ing machines name via my
ISP's DNS servers which were in resolv.conf thanks to the machine
being configured with DHCP once seemed to be the cause of the problem.

Again, thanks for your help!


More information about the freebsd-questions mailing list