How to get your SSH Key Pairs on Mac

40 views 1

  1. Open Terminal application by going to Finder → Go → Utilities → Terminal
  2. Once Terminal is open, type the following command: ssh-keygen -t rsa
  3. When you execute this command, the ssh-keygen utility will ask you where it should store the generated key.
  4. Type in a passphrase. You can also hit the ENTER key to continue without using a passphrase.
  5. You should now see a dialog that tells you where both your Private and Public Keys are stored.

Was this helpful?