[Bug 2912] ssh keeps connection open to ssh-agent for lifetime of connection
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Fri Nov 9 14:39:55 AEDT 2018
https://bugzilla.mindrot.org/show_bug.cgi?id=2912
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
Attachment #3189| |ok?(dtucker at dtucker.net)
Flags| |
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Comment on attachment 3189
--> https://bugzilla.mindrot.org/attachment.cgi?id=3189
close agent socket after authentication
The problem here is that pubkey_prepare() was setting
authctxt.agent_fd, but it was then being clobbered by the subsequent
authctxt preparation in ssh_userauth2().
The fix moves the pubkey_prepare() call down to after the preparation
of authctxt is complete and also adds some cleanup of agent_fd after it
is closed.
--
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