mercoledì 21 agosto 2013

passwordless ssh - ssh-keygen isn't enough!

For backup purposes on my NAT, I set up a passwordless login using ssh.
To make the long story short, creating a pair of keys using ssh-keygen and copying the public part to ~/.ssh/authorized_keys on the remote NAT (and fixing permission: 700 for ~/.ssh/ and 600 for authorized_keys) is not enough.
I got a nasty Agent admitted failure to sign using the key. message
Found (#5) that I got to simply add the new  identity using ssh-add

Nessun commento:

Posta un commento