Tuesday, March 3, 2009

slow login in OpenSSH

if you ever systematically experience slow initial connection (login) in an OpenSSH server using eg WinSCP, try edit /etc/ssh/sshd_config disabling reverse DNS lookups:

UseDNS no

In my case (CentOS 5.2 server, WinSCP/Putty client), this solved the problem, and the connections run REALLY fast now

No comments: