|
To generate a public key, run the program
$ ssh-keygen -t rsa
The public key will be placed at ~/.ssh/id_rsa.pub. To install your public key immediately in the remote servers' authorized_keys file invoke following command:
$ ssh-copy-id -i ~/.ssh/id_rsa.pub username@remote.host
|