[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compile libssl or make ssh not slow



Hi Robert,

On Tue, 10 Sep 2002, Robert Ian Smit wrote:

> > > What is the easy solution to make ssh a bit faster on sun4m?
> >
> > Use the -C when opening an ssh session.
> > ssh -C -l user host.
>
> The -C option deals with compression if I am not mistaken. Perhaps I
> wasn't clear in my original message, but once the session is
> established I have no problem at all. It's the process of logging in
> that takes 10 seconds or so.

This is probably a DNS resolve-issue: sshd cannot find a hostname for the
IP address you connect from. The resolving process slows your inititial
connection. Try adding the IP-address and some (bogus) hostname for the
machine you connect /from/ (client) to /etc/hosts on the machine you
connect /to/ (server). Or have reverse DNS fixed.

I thought it was also possible to disable reverse name lookups for sshd
but can't find it quickly in the man pages.

Regards,

        -Bert




Reply to: