send ssh key from one vm to another code example Example 1: copy my ssh key clip < ~/.ssh/id_rsa.pub Example 2: ssh-keygen and ssh-copy-id ssh-copy-id -i ~/.ssh/mykey user@host