copy sshkey to ubuntu server code example
Example 1: copy ssh keys
pbcopy < ~/.ssh/id_rsa.pub
Example 2: ubuntu generate ssh key
ssh-keygen -t rsa -C "[email protected]"
pbcopy < ~/.ssh/id_rsa.pub
ssh-keygen -t rsa -C "[email protected]"