I created an ssh key with the command ssh-keygen -t rsa -b 4096 -C "myname@myemail.com"
.
I put a passphrase.
It created two files : id_rsa and id_rsa.pub .
I am surprised because, when I do less id_rsa
, I can read the key without there being a request for my passphrase. There is no word "encrypted" in the text.
I thought it was possible because the passphrase was not requested for me and only me but, if I copy the id_rsa file in the /home of another user, the result is the same: this user can see the key and the word "encrypted" does not appear.
I specify that I had to give reading rights with chmod but I don't understand: why the passphrase is not requested?
Thank you a lot!