How do I encrypt my SSH keys?

To make a new SSH key pair (private + public keys), use ssh-keygen. If you enter a passphrase, the private key file will be encrypted with that password. $ $ ssh-keygen -t rsa -f ~/.ssh/newkeyGenerating public/private rsa key pair.Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in /Users/jsmith/.ssh/newkey.Your public key …

Continue reading ‘How do I encrypt my SSH keys?’ »