Je bent niet ingelogd.

  • |

#1 13-Sep-2012 01:58:00

warp
Administrator

Fix SLow Connections To Ubunto SSH Servers

Connections to SSH servers with default configs can be annoyingly slow.
This is because the OpenSSH daemon uses DNS to run a reverse lookup on the client to be sure that they aren’t faking their hostname. You can disable most look-ups by implementing the following setting:

As root edit “/etc/ssh/sshd_config” and add the line “UseDNS no“.

This can also be done by running the following command:

sudo echo "UseDNS no" >> /etc/ssh/sshd_config

or when you're having trouble doing this as "user"

echo “UseDNS no” | sudo tee -a /etc/ssh/sshd_config

Source: UnsharpTech

Offline

Bulletin Board voettekst