How do i check if a ssh key has been passphrased, encrypted?



  • The format of the generated ssh key is different. To find out you can search for text in the private key.

    $ sudo grep ENCRYPTED /home/*/.ssh/*id_rsa
    

    This is a good check to see all user have passphrased their ssh key.


Log in to reply
 

© Lightnetics 2024