Monday, September 26, 2011

Keyless ssh connection between A and B

A:
ssh-keygen -t rsa
...
...

Then scp the "id_rsa.pub" to B


B:
cat id_rsa.pub >> .ssh/authorized_keys
chmod 644 .ssh/authorized_keys


Now connection from A to B is keyless.

No comments:

Post a Comment