cd ~
ssh-keygen -p
(重设密码)
Enter file in which the key is(默认是第一个id_rsa):
(一般就是默认的,这步直接回车)
Enter old passphrase:
(输入就密码)
Enter new passphrase (empty for no passphrase):
(输入新密码,不要密码就回车,直接回车)
Enter same passphrase again:
(直接回车)
Your identification has been saved with the new passphrase.
(大功告成!)
网友评论