[kwlug-disc] ssh takes 5 minutes to connect
Ronald Barnes
ron at ronaldbarnes.ca
Sun Jul 24 21:30:11 EDT 2022
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
More information about the kwlug-disc
mailing list