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 [email protected]
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
Love
Can we use Let's Encrypt, the free and open certificate authority?
Hola! gracias por la info, me sirvió el comando sacandole el nombre del server. En mi caso, fue una migración…
Yes 3rd option helped me too. I removed the WC key Values from config file then started working.
I know this is from 2014. But really, thank you!