https://bugzilla.mindrot.org/show_bug.cgi?id=2196

--- Comment #4 from Philip Hands <[email protected]> ---
The problem is that ssh will use any of id_rsa, id_dsa, id_ecdsa, or
id_ed25519, so it's not completely obvious which of those if should
choose if there's more than one of them.

The current approach allows one to choose.

I note that it's actually documented behaviour:

  The default_ID_file is the most recent file that matches:
  ~/.ssh/id*.pub, (excluding those that match ~/.ssh/*-cert.pub)
  so if you create a key that is not the one you want ssh-copy-id
  to use, just use touch(1) on your preferred key's .pub file to
  reinstate it as the most recent.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to