Differences

This shows you the differences between two versions of the page.

Link to this comparison view

info:sshd_slow_password_prompt [2011/12/05 09:17]
smark created
info:sshd_slow_password_prompt [2011/12/05 09:17] (current)
smark [Details]
Line 11: Line 11:
 I took the following troubleshooting steps: I took the following troubleshooting steps:
  
-Edit /​etc/​ssh/​sshd_config to add "​UseDNS no" (reports showed "​UseDNS yes" should already be present in file, but wasn'​t?​) +Edit /​etc/​ssh/​sshd_config to add "​UseDNS no" (reports showed "​UseDNS yes" should already be present in file, but wasn'​t?​)\\ 
-Restarted SSHd using "​service ssh restart"​. +Restarted SSHd using "​service ssh restart"​.\\ 
-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 "​UsePAM yes" to "​UsePAM no". +Removed UseDNS entry. I had seen some information about PAM causing slow auth, so I changed "​UsePAM yes" to "​UsePAM no".\\ 
-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.
info/sshd_slow_password_prompt.txt · Last modified: 2011/12/05 09:17 by smark
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0