How-to transfer your public ssh key to another computer for ssh shared keys authentification:
Use the command
EDIT 2018: I tried to transfer my public key to a new machine and failed because I didn’t get the syntax of $remote_user@remote_host (I literally entered the “$”). So to remind a future me the correct command for user
foo on remote host
ssh-copy-id -i ~/.ssh/id_rsa.pub foo@foobar
If you have any questions, suggestions, thoughts and comments please feel free to email me.
License of this blog post:
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.