Is it possible to detect just from the pub part of the ssh key if the key is password protected?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, only the private key gets encrypted, the public part is not affected at all. Even if the public key contained information about the encryption status of the private key this would not be reliable – the private key can be decrypted and encrypted with a new password at any time.