4 mai 2014

Easy sending your public SSH key to your remote servers

ssh-copy-id is a simple tool that send your public SSH key to a remote server. Installing it on OSX:
brew install ssh-copy-id

And sending your public ssh keys is done like so on a local server at
ssh-copy-id root@
Note: If you have never generated your SSH key pair, simply issue the following command:
ssh-keygen -t rsa -C