problema con ssh e RSA
ciao lista,
ho questo problema con ssh:
vorrei abilitare SOLO ed ESCLUSIVAMENTE l'autenticazione di ssh basata su
chiave pubblica RSA...ho generato ed installato le chiavi per cui adesso
dal mio pc mi collego senza inserire la password; ma come faccio a
disabilitare completamente il login via password su ssh ??
Voglio fare in modo che solo chi installa la sua chiave pubblica sul server
possa accedere al server stesso
Ho trovato molti che dicevano di mettere "PasswordAuthentication no" ma a me
non funziona...continuo a loggarmi anche da macchine senza chiave
dove sbaglio ??????
grazie !!
allego parte del file sshd...
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
# Authentication:
LoginGraceTime 600
PermitRootLogin no
StrictModes yes
AllowUsers XXXXXXX
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
# 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
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for
RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
# Change to yes to enable tunnelled clear text passwords
PasswordAuthentication no
Reply to: