How do I verify/check/test/validate my SSH passphrase?

后端 未结 5 676
春和景丽
春和景丽 2020-12-12 08:47

I think I forgot the passphrase for my SSH key, but I have a hunch what it might be. How do I check if I\'m right?

5条回答
  •  萌比男神i
    2020-12-12 08:54

    Use "ssh-keygen -p". You can add "-f "

    It will prompt you for the old password. If the password is correct, it will prompt to enter a new password. If the old password is incorrect, you will get "Failed to load key <...>".

提交回复
热议问题