how to copy ssh key

Shell
clip < ~/.ssh/id_rsa.pubpbcopy < ~/.ssh/id_rsa.pubssh-copy-id -i ~/.ssh/mykey user@host
Source

Also in Shell: