Showing posts with label Openssl. Show all posts
Showing posts with label Openssl. Show all posts

Thursday, 27 December 2018

SSH: Remove passphrase from rsa key?

openssl rsa -in ~/.ssh/id_rsa -out ~/.ssh/id_rsa_new
cp ~/.ssh/id_rsa ~/.ssh/id_rsa.backup
rm ~/.ssh/id_rsa
cp ~/.ssh/id_rsa_new ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa