SSH Key exchangeApril 9, 2021 | Stack
If you have never generated a key on your system, or if you want a separate key. Do the following:
And following the instructions. Just press enter all way thru, if you do this for the first time. But, you can choose to make another name for the key (other than the default).
Copy your public identity to the server, with ssh-copy-id command:
ssh-copy-id firstname.lastname@example.org (if default) # if you made a special identity/name, point to the identity ssh-copy-id -i ~/.ssh/mykey email@example.com
enter your password once, to confirm to the server that you have legitimate access. And now login again, to se if every thing worked out as it should (no password confirmation)