I am using git and I have setup passphrase for private key. I would like to remove it. I am using openssl rsa -in id_rsa -out id_rsa_new
Should I enter the passphrase without waiting for any response from the above command or should it raise a response question whether it needs passphrase or not. Because, if I enter the above command and wait, its not responding anything it waits forever. How should the behaviour be?
Asked
Active
Viewed 6,052 times
-1

funky-future
- 3,716
- 1
- 30
- 43

User
- 1,186
- 4
- 22
- 36
2 Answers
1
git
doesn't use OpenSSL
keys — git
uses ssh
and ssh
has its own set of tools. See for example https://stackoverflow.com/a/112409/7976758. You need ssh-keygen -p
.
Please note the question was closed as off-topic.

phd
- 82,685
- 13
- 120
- 165
-1
Not sure if this helps your situation but I use this command on linux/unix systems.
ssh-keygen -t rsa -b 4096 -C "my@email.addr"
When it prompts for the passphrase I just hit enter. This gives me a private and public key without a passphrase.

Damien Dezurik
- 1
- 1