[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Requesting agent forwarding

On Wednesday 18 April 2012 15:37:32 you wrote:
> Hello,


> 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.

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.


	-- andreas

Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

Requesting agent forwardingMitchell Hashimoto <mitchell.hashimoto@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org