How to generate a pair of SSH private key and public key pairs?

Posted on

How to generate a pair of SSH private key and public key pairs?

On Linux, you can generate one first by

$ ssh-keygen -t rsa

By default on Linux, the key pair is stored in `~/.ssh` named `id_rsa` and `id_rsa.pub` for the private and public key.

Leave a Reply

Your email address will not be published. Required fields are marked *