I had a not protected by passphrase ssh key which I use to connect with a server. Now I want to add a passphrase to the key, so I've done:
and added a new passphrase:
Enter file in which the key is (/home/user/.ssh/id_rsa): Enter old passphrase: Key has comment '/home/user/.ssh/id_rsa' Enter new passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved with the new passphrase.
Then, I try to connect again to the server:
ssh firstname.lastname@example.org -v
but I'm still logged without entering the passphrase:
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/user/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentication succeeded (publickey).
Authenticated to server.com ([xxx.xx.xxx.xx]:22).
Why I'm not asked for the passphrase?
Seahorse was storing the keys for me, so this was the issue.