How do I create an SSH key pair?

Windows Operating System
We recommend MobaXterm as the most straight forward SSH client. You can download its free home edition (Installer Edition) from https://mobaxterm.mobatek.net/
The Mobaxterm Portable Edition is not recommended as it deletes the sessions. Once you install the stable version of MobaXterm, open its terminal and enter this command:

ssh-keygen

This command will create a private key and a public key. Do not share your private key; we recommend giving it a passphrase for security.
To view the .ssh directory and to read the public key, enter these commands:

ls -al ~/.ssh
more ~/.ssh/*.pub

MACOS:
Use a terminal to create an SSH key pair using the command:

ssh-keygen

To view the .ssh directory and to read the public key, enter these commands:
ls -al ~/.ssh
more ~/.ssh/*.pub