Git Enter passphrase for key ‘/c/Users/***/.ssh/id_rsa‘ 解决方法(mac windows都适用)
Posted LANGZI7758521
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Git Enter passphrase for key ‘/c/Users/***/.ssh/id_rsa‘ 解决方法(mac windows都适用)相关的知识,希望对你有一定的参考价值。
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
以上是关于Git Enter passphrase for key ‘/c/Users/***/.ssh/id_rsa‘ 解决方法(mac windows都适用)的主要内容,如果未能解决你的问题,请参考以下文章
Enter passphrase for key ‘/c/Users/**/.ssh/id_rsa‘ 解决办法!
一直出现 Enter passphrase for key '/root/.ssh/gitkey12.pub'
git commit 时出现:please enter the commit message for your changes