输入密码匙/。ssh / id_rsa”后推(复制)

时间:2022-03-14 14:29:57

This question already has an answer here:

这个问题已经有了答案:

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. 输入密码匙/。ssh / id_rsa”后推(复制) 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):