Help - Search - Members - Calendar
Full Version: Ssh Questions
Linuxhelp > Support > Technical Support
I have two linux machines running Mandrake 9.1. When I ssh into it, it prompts me for password instantly and after verifying the password, the message from /etc/motd comes
up right away but then I have to wait 25-30 secs for the command promopt to show up.
Any ideas? Thanks.

What are the specs on the machines?

Are they running firewalls?

Are they on a local network?
The first machine is
| Pentium 4 2.66 Gz with 1G of RAM
| and 80G of storage
| The operating system:
| Mandrake Linux release 9.1 (Bamboo) for i586
| Kernel 2.4.21-0.13mdkenterprise on an i686

The second machine is
| Pentium III 1.1 Gz with 128M of RAM
| and 20G of storage
| The operating system:
| Mandrake Linux release 9.1 (Bamboo) for
| i586 Kernel 2.4.21-0.13mdk on an i686

The first machine is behind a firewall from our site. The second one has its own firewall.
Both machines are on a local network.


I had the same problem. It appears to be the way that the SSH Daemon resolves hostnames connecting to it. My first question would be: Are your boxes using DCHP to get IP addresses? Whether you are or not, be sure that in the /etc/hosts of the machine you are SSH-ing into you have the IP address and hostname of the *connecting host*. As an example:

SSH Client ( ssh===> SSH Server (

Then on the server box's /etc/hosts: ; or whatever the client's hostname is.

Restarting the SSH daemon on the server would be a good idea at this point as well.

If you are using DHCP then just put in a bunch of lines in /etc/hosts that cover your IP range:

Hope this helps!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.