Ssh keys exchange
31/Jan 2014
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'