[kwlug-disc] ssh takes 5 minutes to connect

Alex K korobkin+kwl at gmail.com
Sun Jul 24 23:06:22 EDT 2022


Try "UseDNS no" in sshd_config ?

On Sun, Jul 24, 2022 at 9:36 PM Ronald Barnes <ron at ronaldbarnes.ca> wrote:

> John Van Ostrand wrote on 2022-07-24 04:54:
>
> > I'd look at dns lookup. It may be taking time to look up reverse DNS on
> > the ssh server.
>
> Interesting - I had been messing about with DNS / DHCP / DDNS. Disabling
> bind/named & dhcpd didn't help, but it's definitely suspect.
>
>
>
> Will keep investigating this angle.
>
> Disabled PAM with UsePAM No in /etc/ssh/sshd_config, which fixes the
> timing issue for now.
>
>
> But that feels dirty, so will investigate my DNS settings - I've
> probably broken something there.
>
>
> Thanks!
>
> rb
>
>
> _______________________________________________
> 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/2293d5b7/attachment.htm>


More information about the kwlug-disc mailing list