/
ssh 개인키 암호 변경/해제하기(change ssh private key pass phrase)
ssh 개인키 암호 변경/해제하기(change ssh private key pass phrase)
ssh 서버에 공개키 방식으로 로그인 할 경우 사용하는 개인키의 암호를 변경하거나 해제하는 방법을 설명합니다
암호 변경
OpenSSL 명령어를 사용해도 되지만 ssh-keygen 명령어로 간편하게 개인키의 암호를 변경하거나 해제할 수 있습니다.
개인키가 저장된 폴더로 이동합니다.
$ cd ~/.ssh
ssh-keygen -p 명령어로 개인키의 passphrase 를 변경합니다. 예로 id_rsa 를 변경할 경우 다음 명령을 실행합니다.
$ ssh-keygen -f id_rsa -p Enter old passphrase:
예전 암호를 입력한 후에 Enter new passphrase 프롬프트에 새로운 암호를 입력합니다. 만약 암호를 설정하지 않을 경우 엔터만 입력합니다.
Key has comment '/home/lesstif/.ssh/id_rsa' Enter new passphrase (empty for no passphrase):
새로운 암호를 한 번 더 넣으면 암호 변경/해제가 완료됩니다.
Enter same passphrase again: Your identification has been saved with the new passphrase.
같이 보기
, multiple selections available,
Related content
ssh-agent 가 private key 를 캐싱할 수 있도록 등록해 주는 ssh-add 명령어 사용법
ssh-agent 가 private key 를 캐싱할 수 있도록 등록해 주는 ssh-add 명령어 사용법
More like this
~/.ssh/authorized_keys 에 public key 를 추가했으나 자동 로그인이 안 됨
~/.ssh/authorized_keys 에 public key 를 추가했으나 자동 로그인이 안 됨
More like this
scp, ssh, rsync 를 key 비밀 번호/암호 입력창 없이 사용하기
scp, ssh, rsync 를 key 비밀 번호/암호 입력창 없이 사용하기
More like this
ssh Authentications method 설정
ssh Authentications method 설정
More like this
ssh 공개키에 있는 이메일 주소 변경하기(change email address in ssh pub key)
ssh 공개키에 있는 이메일 주소 변경하기(change email address in ssh pub key)
More like this
Bitbucket SSH Key 추가시 "Someone has already registered that SSH key" 에러
Bitbucket SSH Key 추가시 "Someone has already registered that SSH key" 에러
More like this