Tuesday, October 6, 2015

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 192.168.1.32:
ssh-copy-id root@192.168.1.32
Note: If you have never generated your SSH key pair, simply issue the following command:
ssh-keygen -t rsa -C 

No comments:

Post a Comment