Removing passphrase from SSH key

Submitted by Peter Majmesku on Tue, 05/08/2018 - 08:46

Let's say you are using OpenSSL and you have a private SSH key with a cryptic passphrase. You want to remove the password prompt for a quicker workflow. Because it can become annoying to copy and paste a password every time you want to connect via SSH. Then just use the command below (you need OpenSSL):

openssl rsa -in ssh-key-passphrase -out ssh-key-NO-PASSPHRASE
Tags