In a previous topic i did successfuly added to one of my ssh users, a key so he can connect with it with out prompting his accountś password.
Now I want to ask,How can i make it mandatory for this user to use the key and the password of this ssh account ?
I mean that for eg for user :
login : mario
pass : test
he have a key.
I run from my local machine ssh -i /home/user1/id_dsa firstname.lastname@example.org
and i get connected instantly with out asking for the password test
I need this to have maximum security...
any help ?