Comment 3 for bug 121262

Revision history for this message
Micah Cowan (micahcowan) wrote :

The ssh-copy-id program defaults to attempting to copy identity.pub instead of id_rsa.pub (should possibly check for both, but id_rsa.pub first). Appends these to authorized_keys, instead of the probably preferable authorized_keys2. Also, it uses "ssh-add -L"'s output in preference to identity.pub, but this includes the case when ssh-add -L gives "The agent has no identities" (in which case it returns a non-zero exit status (1)).

I'm not sure how important, if at all, the authorized_keys bit is, but I believe the rest of this behavior may be worked around by specifying the identity directly via the -i switch; therefore, I'll go ahead and set the priority myself, to Wishlist.