ssh-copy-id(1) -i ~/.ssh/foo.com.pub user@foo.com
install your public key in a remote machine's authorized_keys
source manpages: ssh-copy-id