openssh
section from the FreeBSD Hanbook
openssh FAQ
Authorized keys creation:
On the client side:
ssh-keygen -f id_[rsa|dsa] -t [rsa|dsa]
will create id_[rsa|dsa] and id_[rsa|dsa].pub .
Keep them in ~/.ssh/ .
On the server side: append the .pub file to ~/.ssh/authorized_keys
(or ~/.ssh/authorized_keys2) .
When configuting access in openssh, do not forget AllowUsers directive
in sshd_config .
created Mar 25 2006
last modified Sat Aug 6 23:24:10 EEST 2011