Date

To generate a new key-pair on your local machine you run the following command:

ssh-keygen -t rsa

Then you can copy the key to the remote hosts with

ssh-copy-id -i ~/.ssh/id_rsa.pub username@remotehost

More info:

man ssh-agent
man ssh-add