按下后输入密钥/.ssh/id_rsa'的密码 [英] Enter passphrase for key /.ssh/id_rsa' after push
本文介绍了按下后输入密钥/.ssh/id_rsa'的密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在git上花了很多时间,一次,当我推送提交时,我不得不:输入密钥/.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?
推荐答案
好像您已经为ssh-key设置了密码:
Looks like you have set passphrase for you ssh-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):
这篇关于按下后输入密钥/.ssh/id_rsa'的密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文