sshd being slow -- hardware related?

Dominic Marks dominic_marks at btinternet.com
Sun Mar 3 15:58:58 GMT 2002


William Cooper wrote:

>Hello again,
>
>Hope everyone is well.
>
>A new machine has been added to my LAN at home (6th machine yay) and
>I've noticed a few problems with sshd, it seems it takes at least 3
>minutes to ssh into the machine, and I think this is due to the LAN port
>being onboard. The machine is one of them 'barebone' systems, that you
>buy and only add RAM/CPU/HDD, anyway, the only reason I'm blaming this
>on hardware is because I also have a IBM thinkpad laptop on my network
>running FreeBSD with a pcmcia network card and it takes about 20 seconds
>longer to ssh in compared to my gateway machine.
>
>Any idea how I can fix this and improve the speed? So far I've ran sshd
>in debug mode (-d) to see if any errors came up and found none just a
>amazing slow speed!
>
>The machine I'm having trouble with is running FreeBSD 4.4-RELEASE and
>sshd version OpenSSH_2.3.0, the hardware consists of 1Ghz Intel
>processor 256MB ram, 20GB HD. And just for the record, I haven't
>modified any file to do with sshd on the machine.
>
>Any comments welcome!
>
>Regards
>
>William Cooper
>
>
>
>------ FreeBSD UK Users' Group  -  Mailing List ------
>http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
>
Make sure:

All the hostnames resolve correctly and quickly, from all the machines.

Try:

Upgrade your install of OpenSSH to 2.9 or 3.02, you can do this by 
installing the OpenSSH port or by upgrading your world to -STABLE.

Using the blowfish cipher as default.

Using SSH v1 rather than v2

--
Dominic






More information about the Ukfreebsd mailing list