Here is a good little tip to save you some time uploading your public key to a remote host (tested to work on OSX Lion). ssh-copy-id copies your key up to a remote host (via ssh with your password) and even assigns the correct permission to home, ~/.ssh, and ~/.ssh/authorized_keys directories for you. For some reason it doesn’t ship with OSX, but you can just copy it from your remote linux host and it’ll work fine. First copy ssh-copy-id down from your remote host… sudo scp [email protected]

Read More