nadamsieee
November 3rd, 2006, 12:09 PM
Here is what I changed in /etc/ssh/sshd_config:
# Only use protocal 2 (more secure)
Protocol 2
#Disable root login. Users have to su to root
PermitRootLogin no
#Turn on Public key authentication
PubkeyAuthentication yes
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication no
# Don't allow graphic applications
X11Forwarding no
Comments? Suggestions?
I also had to enable the ChallengeResponseAuthentication option, in order to log-in:
# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication yes
# Only use protocal 2 (more secure)
Protocol 2
#Disable root login. Users have to su to root
PermitRootLogin no
#Turn on Public key authentication
PubkeyAuthentication yes
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication no
# Don't allow graphic applications
X11Forwarding no
Comments? Suggestions?
I also had to enable the ChallengeResponseAuthentication option, in order to log-in:
# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication yes