Mailing List Archive

[Bug 3062] ssh client ignores IdentitesOnly=yes if the identity file isn't found
https://bugzilla.mindrot.org/show_bug.cgi?id=3062

--- Comment #1 from Stephen Shirley <kormat@gmail.com> ---
Just discovered a workaround:

ssh -F /dev/null -o IdentitiesOnly=yes -i
/something/that/doesnt/exist -i /dev/null hostname

This will cause ssh to fail with:

Warning: Identity file /something/that/doesnt/exist not accessible:
No such file or directory.
Load key "/dev/null": invalid format
hostname: Permission denied (publickey).

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3062] ssh client ignores IdentitesOnly=yes if the identity file isn't found [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3062

Stephen Shirley <kormat@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |kormat@gmail.com

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3062] ssh client ignores IdentitesOnly=yes if the identity file isn't found [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3062

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
CC| |djm@mindrot.org
Status|NEW |RESOLVED
Blocks| |2988

--- Comment #2 from Damien Miller <djm@mindrot.org> ---
Thanks, I've clarified the documentation in commit 7047d5afe.
IdentitiesOnly is intended mostly to limit which keys are tried from
ssh-agent.


Referenced Bugs:

https://bugzilla.mindrot.org/show_bug.cgi?id=2988
[Bug 2988] Tracking bug for 8.1 release
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs