Use 'ssh-copy-id', which is the correct way to copy ssh keys.