Copy ssh key

Recently I found a very handy command to copy your public ssh key to a destiation host.

All the time struggeling around with some xargs, pipes etc. to learn in the end that the command already exists.

How to use it:

ssh-copy-id -i ~/.ssh/ remote-host

Create dsa key pair:

ssh-keygen -t dsa