更新ssh后使用git pull时出现 Enter passphrase for key ‘/Users/xxx/.ssh/id_rsa‘
解决方法:
1.输入命令 ssh-keygen -p
然后弹出,Enter file in which the key is (/c/Users/xxx/.ssh/id_rsa):
直接按回车
2.再出现Enter old passphrase:
->然后输入旧密码
3.Enter new passphrase (empty for no passphrase):
后面的都直接按回车
Enter same passphrase again:
继续按回车
出现Your identification has been saved with the new passphrase.
说明已经设置成功
->再git pull 就可以了。
本文介绍了在更新SSH密钥后,使用gitpull时遇到提示Enterpassphrase的情况,详细步骤包括生成新密钥、输入旧密码和设置新密码,确保SSH身份验证成功。
2024

被折叠的 条评论
为什么被折叠?



