Ahmed Shihab
Ahmed Shihab

Reputation: 31

SSH public key passphrase incorrectly accepting password

I have enabled public key authentication for ssh on my machine and disabled password authentication by using "PasswordAuthentication no" in sshd_config when i try to connect to to my machine it only asks for passphrase "Enter passphrase for key 'fakepath/something_rsa'": ,however if i enter the ssh user password instead of the RSA passphrase that i assigned at key creation it is also accepted please keep in mind that if i try to connect from a machine that doesn't have a key I'm greeted with "user@ip: Permission denied (publickey)" my question is how can i prevent the connection from accepting the user password.

Upvotes: -1

Views: 13

Answers (0)

Related Questions