-
Create set of RSA keys which will be used for authentication We recommend to use very strong security level:
ssh-keygen -t rsa -b 4096
-
Answer by default to all questions, but please enter very long and secure pass-phrase, which you should remember very well.
Generating public/private rsa key pair will be as follow:
Enter file in which to save the key (/home/yourname/.ssh/id_rsa):
Enter pass-phrase (empty for no pass-phrase): <-here should be very long phrase
Enter same pass-phrase again:
Your identification has been saved in /home/yourname/.ssh/id_rsa.
Your public key has been saved in /home/yourname/.ssh/id_rsa.pub.
-
Transfer your keys to hosts, which you will need to use in future.
ssh-copy-id <username>@<host>
Where <username> - user name on remote Unix system, <host> - address of the remote Unix system.