[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Requesting agent forwarding
[Thread Prev] | [Thread Next]
- Subject: Re: Requesting agent forwarding
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 20 Apr 2012 09:37:55 +0200
- To: libssh@xxxxxxxxxx
On Thursday 19 April 2012 14:19:18 you wrote: > Sorry about the new thread, I was subscribed to the "nomail" version > of the mailing list without realizing it so I couldn't figure out a > way to respond to the previous response. I'm responding to Andreas > > below: > >> I'm investigating libssh for a project and one of the requirements is > >> that I'm able to request SSH agent forwarding on an SSH connection. It > >> appears based on the RFC[1] that this is done by sending a channel > >> request. I don't see if this is done or exposed anywhere in libssh. > >> > >> Is this possible now? > > > > it is possilble to implement it, but we don't have a simple API for it. > > Yeah I can see how it can easily be implemented in libssh. Would this > be something you'd be interested in a patch? A patch would be great, it needs to be in #ifndef _WIN32 cause windows doesn't support unix sockets. > > > What you are doing on the client side is to connect to the socket of the > > unix socket from the agent and "forward" the request over a ssh channel. > > The server sets up a unix socket and set the evironment variable for the > > unix socket so the clients on the server know where the agent is. > > Right, so there is no way to do this with libssh currently without patching > it? You can do it without changing libssh. All the functions should be there. A patch for libssh adding it with and easy to use interface is welcome. -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.org asn@xxxxxxxxxxxxxx
Re: Requesting agent forwarding | Mitchell Hashimoto <mitchell.hashimoto@xxxxxxxxx> |
Re: Requesting agent forwarding | Mitchell Hashimoto <mitchell.hashimoto@xxxxxxxxx> |