1. Generate a public/private key pair and
ssh-keygen
# add `~/.ssh/pi_rsa` when prompted for which file to save the key
  1. Move the public key to the raspberry pi
ssh-copy-id -i ~/.ssh/pi_rsa.pub pi@raspberrypi.local
  1. SSH into the raspberry pi
ssh pi@raspberrypi.local