Re: ssh initial connects SLOW



Randy Yates wrote:
Randy Yates <yates@xxxxxxxx> writes:

Randy Yates <yates@xxxxxxxx> writes:
[...]
Problem solved. In reading the -vvv output I posted, I realized the
client was attempting the GSSI... authentication method first, then publickeys. In reading the man page for ssh, there is a
PreferredAuthentications option that can be set in
ssh_config. Enteringthe following line in /etc/ssh/ssh_config,

PreferredAuthentications publickey,hostbased,keyboard-interactive,password

(on both sides) solved the problem.

Note that the reason WHY the authentication order changed ON BOTH SIDES
is still a mystery. Perhaps I yum updated both sides' openssh
applications without realizing it recently, and the default
authentication order changed between the old openssh and the new.

Did you have an "/etc/ssh/ssh_config.rpmsave" lying around? And /var/log/rpmpkgs* should reveal any changes in your packages over the last few days.
.