Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/CloudIngenium.com/htdocs/wp-includes/functions.php on line 6114
How to: Add ssh keys easily to another machine – Knowledge eXchange

How to: Add ssh keys easily to another machine

I’ve had a few servers I was logging in using username and password and I kind of liked how Azure uses an ssh key for logging in (plus the fact it is more secure) so I decided to install my ssh key on all our servers. The ssh-copy-id command (in the openssh-client package and installed by default) does exactly this:

ssh-copy-id user@hostname.example.com

copies the public key of your default identity (use -i identity_file for other identities) to the remote host.

This makes life so much easier, as it makes you log in, checks the key is not already present on the destination server, copies over the key and all! Just the kind of thing I love :3

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.