[LBo] SSH
Travis Mehrer
travis at trivcraft.com
Mon Nov 19 23:33:23 CET 2007
On Mon, Nov 19, 2007 at 11:15:09AM -0600, Troy wrote:
> I'm having some speed issues with ssh. When I ssh to the server, it is
> really slow in prompting for a password. However, if I ssh from the pc
> running the server software, the connect is fast. I also tried ssh from my
> computer to another server, and it works fine, so I narrowed the issue to
> establishing a connection with this particular server. I ran ssh -vvv and
> have included the results below. Any ideas what's going on, and more
> importantly, what I can do to fix it?
> *This is where it seems to hang*
>
> debug2: fd 3 setting O_NONBLOCK
> debug1: An invalid name was supplied
> Cannot determine realm for numeric host address
>
> debug1: An invalid name was supplied
> A parameter was malformed
> Validation error
>
> debug1: An invalid name was supplied
> Cannot determine realm for numeric host address
>
> debug1: An invalid name was supplied
> A parameter was malformed
> Validation error
>
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
Nine times out of ten this is caused by DNS reverse lookups. There are 2
ways to fix this:
1) Make the IP of the computer you are ssh-ing FROM resolve on the
system you are ssh-ing TO. The easiest way is to add an entry into your
/etc/hosts file.
2) add an entry like this into your sshd_config:
UseDNS No
More information about the QnA
mailing list