ubuntu add public key to server

Shell
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server
Source

Also in Shell: