简体   繁体   English

Git Push和SSH密钥

[英]Git Push and SSH key

I'm having THIS PROBLEM 我有这个问题

I cannot set up an SSH Key to rectify the problem. 我无法设置SSH密钥来纠正此问题。 I'm following THESE STEPS to set up an SSH key. 我正在按照这些步骤设置SSH密钥。 When I get to: 当我到达:

Enter passphrase (empty for no passphrase):

I cannot enter a passphrase. 我无法输入密码。

What am I doing wrong? 我究竟做错了什么? Thank you. 谢谢。

If by "I cannot enter a passphrase", you mean that nothing is shown while you're typing in your passphrase, then there's no problem. 如果用“我无法输入密码”来表示您在输入密码时什么都没有显示,那么就没有问题。 You can simply type your passphrase, and then hit enter. 您只需输入密码,然后按Enter。 Your passphrase should be asked twice. 您的密码短语应该被询问两次。

If you've ever used sudo or su , you may remember that nothing is shown either. 如果您曾经使用过sudosu ,您可能还记得没有显示任何内容。

Keep typing and press enter. 继续输入并按Enter。 It should work from there. 它应该从那里开始工作。 On unix systems, by default, you just don't get any output when you type a password as this is more secure than showing obfuscated characters. 在unix系统上,默认情况下,键入密码时您不会得到任何输出,因为这比显示混淆的字符更安全。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM