Git Enter passphrase for key ‘/c/Users/***/.ssh/id_rsa‘ 解决方法(mac windows都适用)
遇到到问题:
Git Enter passphrase for key ‘/c/Users/***/.ssh/id_rsa’
解决方法:
cmd命令打开终端窗口
1、切换到ssh:cd ~/.ssh
2、修改对应邮箱私钥 ssh-keygen -t rsa -C"12345@qq.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/liding/.ssh/id_rsa):【这里直接enter】
Enter passphrase (empty for no passphrase): 【你的密码】
Enter same passphrase again: 【再次输入密码】
Your identification has been saved in /Users/liding/.ssh/id_rsa.
Your public key has been saved in /Users/liding/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:486YOf/KzffvJUlh
然小梨
关注
————————————————
版权声明:本文为CSDN博主「然小梨」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_41971835/article/details/109543596