[Bug 3080] Document IdentityFile=none and clarify interaction of defaults with IdentitiesOnly

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Jul 11 18:11:04 AEST 2020


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

osnuc <openssh at nuclearsunshine.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from osnuc <openssh at nuclearsunshine.com> ---
Hi, thanks for the update on this.

As far as I can see, the special "none" string for IdentityFile still
remains undocumented. So as a minimum, can you please make the
following change:

* in the IdentityFile section, mention the special "none" value.

Additionally, a common use case for IdentitiesOnly is to set it to yes
globally, and then set IdentityFile for each host, with the intention
of *only* trying the explicitly configured key.

However, this will not have the desired effect, since OpenSSH will
still try (falling back on?) keys with standard names.

For this reason, it would be helpful to add the following:

* in the IdentitiesOnly section, mention also needing to set
IdentityFile to none if the user does not want to fall back on SSH keys
with standard names.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list