Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does it take so long to connect to my computer via ssh or telnet?

Computer Connect SSH telnet
0
10 Posted

Why does it take so long to connect to my computer via ssh or telnet?

0

The symptom: there is a long delay between the time the TCP connection is established and the time when the client software asks for a password (or, in telnet(1)’s case, when a login prompt appears). The problem: more likely than not, the delay is caused by the server software trying to resolve the client’s IP address into a hostname. Many servers, including the Telnet and SSH servers that come with FreeBSD, do this in order to, among other things, store the hostname in a log file for future reference by the administrator. The remedy: if the problem occurs whenever you connect from your computer (the client) to any server, the problem is with the client; likewise, if the problem only occurs when someone connects to your computer (the server) the problem is with the server. If the problem is with the client, the only remedy is to fix the DNS so the server can resolve it.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.