RSA 암호를 다시 잊어 버린 것 같습니다 .
적어도 내가 기억하는 것이 올바른지 확인할 수 있도록 로컬 명령 줄에 프롬프트를 표시하는 방법이 있습니까? 그래서 불필요하게 변경하지 않아도됩니까?
다음에 나는 그것을 포스트잇에 쓰고있다;)
답변
사용하다:
ssh-keygen -y
-y This option will read a private OpenSSH format file and
print an OpenSSH public key to stdout.
예 : $ ssh-keygen -y -f ~ / .ssh / id_rsa_file “암호 입력 :”메시지가 나타납니다. 잘못된 암호가 주어지면 “로드 실패”라고 표시되고 그렇지 않으면 OpenSSH 공개 키를 stdout에 인쇄합니다.
답변
시도 ssh-keygen -p
:
-p Requests changing the passphrase of a private key file instead of
creating a new private key. The program will prompt for the file
containing the private key, for the old passphrase, and twice for
the new passphrase.