ssh hardening
Step 1. Open Terminal Window on MacBook
Step 2. Generate an ssh key
In the MacBook terminal window run the command:
$ ssh-keygen -t rsa
Step 3. Copy ssh public key to Raspberry Pi
The public key can be used on multiple Raspberry Pis
Be sure to get this correct
$ ssh-copy-id -i ~/.ssh/id_rsa.pub ♣username♣@♣hostname♣
Step 4. Restart ssh
$ sudo service ssh restart