Tapha
Tapha

Reputation: 1511

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 "[email protected]"
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Tekkub/.ssh/id_rsa):

ssh.txt

I 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.

Upvotes: 6

Views: 16248

Answers (2)

xmjx
xmjx

Reputation: 1153

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.

Upvotes: 11

NUXI
NUXI

Reputation: 551

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.

Upvotes: 2

Related Questions