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 4,136 times
0
funky-future
- 3,329
- 1
- 26
- 42
User
- 1,168
- 3
- 20
- 35
2 Answers
0
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
0
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
- 69,888
- 11
- 97
- 133