Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have had a shufty through the forums, but it doesn't appear that anyone else has had this problem? Am I unique??
When I launch putty from a Windoze PC to connect to a SUSE 9.2 PC, it immediately asks for:
login as:
I type root, and hit enter. There is then about a 27 second delay before it asks for the password. I then type the password and hit enter, and then it gives me the ~# prompt.
Anyone know why there is a 'long' delay before the password is asked for?
It's quite annoying when you have to login and out frequently for testing purposes.
Is it possibly something to do with PAM/SSH etc? I have a rudimentary knowledge of Linux, but cannot work out why this is happening.
When I launch putty from a Windoze PC to connect to a SUSE 9.2 PC, it immediately asks for:
login as:
I type root, and hit enter.
First of all you should not log in as root regardless of the network service you're accessing, please turn "PermitRootLogin" off in sshd_config, login as unprivileged user then use sudo to perform root account tasks.
There is then about a 27 second delay before it asks for the password.
I'd first check the system logs if there are any sshd/PAM entries you need to check, then sshd_config for VerifyReverseMapping set to "on", then check /etc/pam.d/system-auth for "nodelay" in the passwd pam_unix line. If that doesn't work, consider running sshd in triple debug mode on a different port and log the output.
ok, will change my login habits. thanks for the tip.
- where are the system logs (probably a dumb question, but i've never had to look at them before)
- in my sshd_config there is no line (or mention) of VerifyReverseMapping
- I don't have a /etc/pam.d/system-auth file
Check your sshd_config for the parameter GSSAPIAuthentication. Make sure it's set to "no". That's the default, but I found out recently that the Fedora Core 4 distribution of sshd_config has the parameter set to "yes" (though I realize your distro is Suse). Having it set to yes causes a DNS lookup in an attempt to resolve _kerberos.<FQDN>.
I found this by using ethereal to capture ethernet packets during the ssh login transaction. You might try doing the same to see if you can track down the source of the delay.
I am encountering the same problem - when I log into the server using SSH, the password prompt appears. After I enter the password, I get a delay of about 12 sec before I get into the session.
What did you change wrt kernal routing tables? Which files did you alter?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.