Dec 23
    Change language to:
As a computer ’specialist’ (What is a specialist anyway?) i tend to get a lot of questions. A large part of those questions had been asked a gazillion times already, so i decided to denote those items and place them into my own little Frequently Asked Questions (FAQ) list. Ofcourse it is incomplete, so feel free to give me a couple of suggestions to add to the list. This will help others and save us from getting the same question over and over again (although this will not prevent it, we have a nice pointer where people can find interesting information, once it is a bit bigger :))

Continue reading »

written by Remko

Dec 23
    Change language to:

Q: My SSH connection is sometimes slow. It can take up to half a minute to connect to a remote host. What is the problem?

 A: The SSH Daemon application uses DNS to do a reverse lookup of the host connecting to it. There can be several issues which make this reverse lookup query unsuccesfull. E.g. There might be a broken DNS on the internet which does not reply, the connection might be overloaded, causing dropped traffic etc.

You can do a couple of things to get rid of this: 1) You can try and add your source host to the /etc/hosts file. This will give sshd the reverse lookup it wants and speedup connection time. 2) You can try and run a local resolver (Which only does ‘recursive’ queries for your host and/or network). Using the “UseDNS no“ flag within OpenSSH will not actually speedup the process! If that all fails, there might be some more trouble then we currently expect. Try running some queries on the resolver defined in /etc/resolv.conf and see whether they get through, is the query answered quickly? etc. Feel free to post a message to a help-mailinglist in case this all does not help.

Continue reading »

written by Remko