[kwlug-disc] ssh takes 5 minutes to connect
Ronald Barnes
ron at ronaldbarnes.ca
Sun Jul 24 21:30:06 EDT 2022
Chris Craig wrote on 2022-07-24 04:04:
> The first thing I would do is add the verbose flag to scp. I know ssh
> allows -v to be specified multiple times in order to increase the
> verbosity each time (-vv, -vvv), and I'm fairly sure that scp supports
> that too.
>
> If you have access to the server sshd configuration you can set
> "LogLevel DEBUG" (or DEBUG2, DEBUG3) in /etc/ssh/sshd_config
Good ideas.
Keeps hanging at
> debug1: Entering interactive session.
> debug1: pledge: network
Setting UsePAM No in /etc/ssh/sshd_config fixes the timing issue, but am
not sure of the repercussions, and why this has started recently.
Thanks!
rb
More information about the kwlug-disc
mailing list