Before ssh-copy-id existed as a premade tool, you bascially had to make your own scripts or distributions for your ssh keys, i.e. you could pipe your pubkey into a ssh session that would first create /home/userid/.ssh and set permissions to it and then output your dd to the authorized keys, then set permissions on that.
so, ssh-copy-id is a good thing and helpful for millions of people. I just don’t understand why the authors couldn’t let pass a chance to “wise up” millions of people with a reminder only themselves can think funny.
root@Klappstuhl:~# ssh-copy-id firstname.lastname@example.org’s password: Now try logging into the machine, with “ssh ‘192.168.10.59’”, and check in:
to make sure we haven’t added extra keys that you weren’t expecting.
Two hints for you:
first – it is not funny.
second, your tool is being used in the real world, by people that do real stuff with the computers they maintain.
if you ever add a key that shouldn’t be there, you go to jail. end of story.