开发者

Why doesn't ssh-keygen let me type in my passphrase in the prompt?

Note: this is not real information:

$ ssh-keygen -t rsa -C "tekkub@gmail.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Tekkub/.ssh/id_rsa):

ssh.txt

I开发者_Python百科 entered a file name here. Not sure if I should have:

Enter passphrase (empty for no passphrase):

I am stuck here. I type and it doesn't work.


Passwords normally don't show up in the console when you type them. That is intended. Just type your password, hit enter and repeat. It will work.


That's why ssh comes with a program called ssh-agent which caches your passphrase (Okay, it actually caches the decrypted key, not the passphrase, same result). That way you can have a passphrase on your key and still not have to type it each time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜