Easily avoid using your password in an SSH connexion: ssh-copy-id

On Linux systems, there used to be a mildly complicated but tedious way to allow you to SSH another computer using your public key, which involved finding and copying your public key on the other host, then connecting to the host and putting this key into ~/.ssh/authorized_keys.

Now there is a much simpler way to do that… Just launch the following command (with your own data), enter your password, and that’s it!

ssh-copy-id  yourusername@remote.host.address

I love administrative simplification!


Related Posts

Get Linux distribution name

Why re-invent the wheel? This post gives ample details: http://www.cyberciti.biz/faq/find-linux-distribution-name-version-number/ cat /etc/*-release o...

Monitoring Tomcat with Munin on Debian GNU/Linux

To monitor Tomcat with Munin 2.0 on Debian GNU/Linux (tested on Debian Squeeze...