This blog is devoted to everything under the sun, minus the things that don't interest me, such as pop culture, pseudo-science, superstition, and other wastes of time. Attempting to group this blog under a neat little classification, like "science" or "politics", will prove to be an act of futility. You have been warned.
Showing posts with label clustering. Show all posts
Showing posts with label clustering. Show all posts
Sunday, September 21, 2008
Tuesday, September 2, 2008
Slow SSH
Is SSH being slow? Are you running Ubuntu (8.04 at the time of this writing)? I've found the following solution fixes slow SSH and Telnet logins. Specifically, the symptom is an annoying ~10 second delay between attempting to log into a remote terminal, and when it prompts you for a password. If this is happening to you, do the following (to the remote machine):
sudo nano /etc/hosts
Then, just add a line with the IP address and host name of the machine you are logging in from. Apparently, the remote machine is trying to do a DNS lookup, or something, and timing out. If it already has your machine in its list of hosts, you can get in instantly. I've found a few other folks discussing this in the forums, but none of their suggestions worked for me.
Happy computing.
sudo nano /etc/hosts
Then, just add a line with the IP address and host name of the machine you are logging in from. Apparently, the remote machine is trying to do a DNS lookup, or something, and timing out. If it already has your machine in its list of hosts, you can get in instantly. I've found a few other folks discussing this in the forums, but none of their suggestions worked for me.
Happy computing.
Subscribe to:
Posts (Atom)