Logging via ssh using keys (without typing password)
Very simple HowTo - how to log into remote machine using keys.
Generate keys on local machine:
ssh-keygen -b 1024 -t dsa
copy ~.ssh/id_dsa.pub content into ~.ssh/authorized_keys file on the remote machine you plan to log in without typing password again and again. To do it:
Copy id_dsa.pub file using your favourite ftp software
than simply type on the remote machine:
cat id_dsa.pub >> ~.ssh/authorized_keys
now your key should be at the end authorized_keys file.
now you can log typing
ssh user@host
and you should not be asked for password.
Related entries: