Copying public SSH key to a server
Tired of ssh’ing into a machine, doing ‘mkdir -m700 .ssh’ and running scp to copy over your public key file? As with all things on Unix, somebody has already thought about it and provided a solution 1 or 2 decades before you even considered the problem…
ssh-copy-id -i .ssh/id_dsa.pub username@server
Doh!