Ssh keys exchange

A superfast note on how to exchange ssh keys in order to connect without the need to remember a password.

On both the computer (A and B):

ssh-keygen
ssh-copy-id -i you@B
ssh you@B # to check if it works

If it doesn’t work try:

cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
Tags// , ,
More Reading
Newer// Poster Making
Older// Eating
comments powered by Disqus