This question already has an answer here:
这个问题已经有了答案:
- Git enter long passphrase for every push 3 answers
- 每次输入3个答案,Git就会输入一个长密码
- GitHub for Mac pops up “enter your password for the ssh key id_rsa” at startup each time 3 answers
- 在每次回答3个问题时,Mac的GitHub都会在启动时弹出“输入ssh密钥id_rsa的密码”
I spent a lot of time with git well and once, when I push my commit - I had: enter passphrase for key /.ssh/id_rsa' . Read a lot about solution of it but finally can't find correct answer. Does anybody know how to fix it and what happens?
我在git上花了很多时间,有一次,当我提交时——我有:输入密码键/。ssh / id_rsa”。读了很多关于它的解,但最终还是找不到正确的答案。有人知道怎么修复吗?发生了什么?
1 个解决方案
#1
2
Looks like you have set passphrase for you ssh-key:
看起来您已经为您设置了密码-key:
demas@ubuntu:/mnt/coursera$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/demas/.ssh/id_rsa):
Created directory '/home/demas/.ssh'.
Enter passphrase (empty for no passphrase):
#1
2
Looks like you have set passphrase for you ssh-key:
看起来您已经为您设置了密码-key:
demas@ubuntu:/mnt/coursera$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/demas/.ssh/id_rsa):
Created directory '/home/demas/.ssh'.
Enter passphrase (empty for no passphrase):