Differences
This shows you the differences between two versions of the page.
info:sshd_slow_password_prompt [2011/12/05 09:17] – created smark | info:sshd_slow_password_prompt [2011/12/05 09:17] (current) – [Details] smark | ||
---|---|---|---|
Line 11: | Line 11: | ||
I took the following troubleshooting steps: | I took the following troubleshooting steps: | ||
- | Edit / | + | Edit / |
- | Restarted SSHd using " | + | Restarted SSHd using " |
- | Attempted to initiated a new SSH session: Connection refused | + | Attempted to initiated a new SSH session: Connection refused\\ |
- | Removed UseDNS entry. I had seen some information about PAM causing slow auth, so I changed " | + | Removed UseDNS entry. I had seen some information about PAM causing slow auth, so I changed " |
- | Restarted SSHd. | + | Restarted SSHd.\\ |
- | Attemped to initiate a new SSH session, was able to login quickly. I wasn't happy with having PAM off, so I turned it back on. | + | Attemped to initiate a new SSH session, was able to login quickly. I wasn't happy with having PAM off, so I turned it back on.\\ |
- | Restarted SSHd, attempted to login again. Login was slow. | + | Restarted SSHd, attempted to login again. Login was slow.\\ |
- | I had seen something mentioned that if the server hostname in /etc/hosts didn't match up that that could cause an issue. | + | I had seen something mentioned that if the server hostname in /etc/hosts didn't match up that that could cause an issue.\\ |
- | I cat-ed /etc/hosts and saw a hosts entry I had added around the time the password prompt started acting up. | + | I cat-ed /etc/hosts and saw a hosts entry I had added around the time the password prompt started acting up.\\ |
- | I removed the entry in /etc/hosts (no long necessary). I restarted SSHd just to be safe and password prompts were fast again. | + | I removed the entry in /etc/hosts (no long necessary). I restarted SSHd just to be safe and password prompts were fast again.\\ |
No idea why. Will update if issue comes back. | No idea why. Will update if issue comes back. |