Subject: [libssh2] #274: ssh agent cannot be shared between sessions

[libssh2] #274: ssh agent cannot be shared between sessions

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Fri, 04 Oct 2013 09:20:51 -0000

#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-devel
Received on 2013-10-04