www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: [PATCH] libssh2_channel_request_auth_agent

Re: [PATCH] libssh2_channel_request_auth_agent

From: Mitchell Hashimoto <mitchell.hashimoto_at_gmail.com>
Date: Sat, 17 Mar 2012 12:07:06 -0700

Peter,

On Sat, Mar 17, 2012 at 10:44 AM, Peter Stuge <peter_at_stuge.se> wrote:
> Mitchell Hashimoto wrote:
>> I really just copied the ssh2_exec.c example, which has all these
>> same problems. I'll fix man
>
> Not only the man page, look at how the existing API works, and make
> the new one for agent forwarding channels work the same.

Hm, I took a look at libssh2_channel_process_startup and I'm not quite
sure I see the difference in what I'm doing vs what it is doing? What
was the problem you saw?

>
>
>> and perhaps in the future I'll send another patch to fix up
>> ssh2_exec as well.
>
> That would be awesome! Meanwhile, suggest looking at other examples
> for inspiration. tcpip-forward.c is fairly straight-forward, for
> example.

Thanks, will do.

>
>
>> I'll address the things you pointed out.
>
> Great! Thanks!
>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-03-17

the libssh2 team