This is a guide for setting up key-based authentication on the mac.
Key-based authentication is an alternative way of authenticating over ssh. Instead of a user name and password, you use a public/private key pair and authenticate this way. A user can optionally be specified as well.
To begin you’ll need to open Terminal.app in your Applications/Utilities folder.
Issue the following command into terminal:
mkdir ~/.ssh
