How to speed up the login via SSH in Ubuntu by 100 times

By Svarychevski Michail on April 18, 2011

For a long time I had a trouble with slow remote login to all my Ubuntu servers (all 2). Slow login means 2-3 seconds in my case. It is not so dramatic of course but when the login is via key you want that everything works like a flash -  ultimately we have not the 486SX.
Long googleing suggested only standard solutions like:

  1. UseDNS no in /etc/ssh/sshd_config — speeds up login in case of slow DNS. I have a local cash DNS, thus everything was fast without it.
  2. Forced IPv4 in the SSH client didn't help — probably not everybody has such problem with speed.
  • Pages:
  • 1