Subject: Re: [PATCH] Request SSH agent forwarding

Re: [PATCH] Request SSH agent forwarding

From: Mitchell Hashimoto <>
Date: Fri, 16 Mar 2012 20:39:17 -0700


On Fri, Mar 16, 2012 at 12:35 AM, Daniel Stenberg <> wrote:
> On Thu, 15 Mar 2012, Mitchell Hashimoto wrote:
>> Attached is a patch to add a new method
>> `libssh2_channel_request_auth_agent` which requests that an agent forwarding
>> listener be started on the remote side for SSH agent forwarding.
> Thanks. Can you also provide a man page for this new function so that I can
> better understand how it is supposed to work? It would also make it easier
> to review the code.

Yep, attached.

>> I've tested the code by modifying the ssh_exec.c example to request agent
>> forwarding, which worked great. I didn't write a new example though, so I
>> didn't commit these changes (since it alters ssh_exec).
> It'd be great if you just renamed your test code then and submitted it as a
> new example!

Haha maybe if this patch gets accepted. I want to straighten anything out first.

How is it now?


> --
>  /
> _______________________________________________
> libssh2-devel


Received on 2012-03-17