#274: ssh agent cannot be shared between sessions
-------------------------+--------------------
Reporter: ccutrer | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 1.4.3
Component: API | Version: 1.4.2
Keywords: | Blocked By:
Blocks: |
-------------------------+--------------------
besides accessing a session for the alloc/free callbacks, only the actual
userauth method needs a session. I propose an userauth_ex method that
takes a session as an argument, so that a single agent connection can be
shared if you're making many connections (think a dsh or parallel-scp
replacement).
for now I've worked around this by jsut overwriting the session field in
LIBSSH2_AGENT before calling userauth, and it's working great.
-- Ticket URL: <https://trac.libssh2.org/ticket/274> libssh2 <https://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2013-10-04