↑ Return to General Setup

Setup SSH

Generate a new SSH key
ssh-keygen -t rsa -b 4096 -C "sprinklers_pi"

Update your computer to use the new one

eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa

View your new public key
cat /home/pi/.ssh/id_rsa.pub

Add it to authorized key file of other computers to allow this computer password-less SSH access
vim ~/.ssh/authorized_keys