Register now and start sharing your code snippets.
-->
SSH public key encryption - How to generate the key and how to copy it to the remote machine
Shell Script (Bash) posted 10 months ago by christian
1 ssh-keygen -t dsa 2 ssh-copy-id -i ~/.ssh/id_dsa.pub user@server
OS X doesn’t come equipped with ssh-copy-id but you can download the script from here.