I have configured ssh on Debian 7 x64
server with public key in ~/.ssh/authorized_keys
My goal is to disable password authorization via ssh and leave only RSA authorization.
Right now both ways are working. I added these lines in /etc/ssh/ssh_config
:
PasswordAuthentication no
UsePAM no
ChallengeResponseAuthentication no
PermitRootLogin without-password
and reloaded service with command:
service ssh reload
but sill able to login with username and password.
Any ideas?
ssh -v
would help.ssh -v
it gives me only option list of ssh usage-v
inserted afterssh
.