On the remote system, the public key has to be appended to .ssh/authorized_keys. Besides, on both remote and local, the permissions must not be too permissive, else ssh will ignore the keys. I recommend mode 600 for authorized_keys, 700 for .ssh, and no more than 751 for ~.
Yves.
|