[kwlug-disc] ssh takes 5 minutes to connect

John Van Ostrand john at vanostrand.com
Sun Jul 24 07:54:49 EDT 2022


I'd look at dns lookup. It may be taking time to look up reverse DNS on the
ssh server.

On Sun., Jul. 24, 2022, 7:11 a.m. Ronald Barnes, <ron at ronaldbarnes.ca>
wrote:

> Ronald Barnes wrote on 2022-07-24 02:34:
>
> > Used to work just fine, but ... I broke something?
> >
> >
> > I immediately get my ssh Banner file displayed when ssh-ing in, then the
> > 5 minutes starts.
>
> Here's a timed example:
>
> > me at here [~]
> > └─» $ time ssh 10.1.2.3 exit
> >
> > You are attempting to log in to a host that is monitored 24/7.
> >
> > real    5m12.887s
> > user    0m0.016s
> > sys     0m0.011s
>
>  From the RPi to the Dell, also over 5 minutes:
>
>  > real    5m16.985s
>  > user    0m0.036s
>  > sys     0m0.013s
>
>
>
> How many sshd instances should I see in the output of "ps -e"?
>
> I have multiples (about 5) on the Dell and the RPi.  Both should have
> multiple connections, although 5 seems a bit high.
>
>
> RPi is behaving normally.
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20220724/ee01389a/attachment.htm>


More information about the kwlug-disc mailing list