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

--- Comment #6 from Elias Toivanen <[email protected]> ---
Hi,

Indeed, it is a bug as ssh_config(5) has this to say:

"It is possible to have multiple identity files specified in
configuration files; all these identities will be tried in sequence. 
Multiple IdentityFile directives will add to the list of identities
tried (this behaviour differs from that of other configuration
directives)."

I am not a OpenSSH developer, but IMO the correct thing to do is to
ignore configuration files (add -F /dev/null to the ssh argument list
in ssh-copy-id) so that multiple id files won't screw up the login
test.

I attached a patch that fixes the issue. Devs? Hopefully you accept it.

-- 
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