«

»

Jan 16

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

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>