Re: more than one sftp handle in a single session?

2009-05-24 Thread Peter Stuge
Daniel Stenberg wrote: > Would you say we should limit the amount of allowed SFTP handles to > exactly 1 on a "session", or should we allow any amount? Any amount, SFTP is just a subsystem running in a channel. //Peter

Re:[ libssh2-Bugs-2795816 ] call sftp_init and sftp_shutdown twice on a session

2009-05-24 Thread Daniel Stenberg
On Sun, 24 May 2009, drswinghead wrote: > i think this fix has make another problem. > > i test the lastest git source libssh2, got Program received signal SIGSEGV, > Segmentation fault. Ouch. Me stupid. I did another fix for this and I believe this time the problem might really be fixed. Than

libssh2 - Shell command not being acted upon

2009-05-24 Thread Phillip Wu
Hi, I have started using libssh2. I have used ssh2.c example from the download bundle. This program after user authenitcation: channel = libssh2_channel_open_session(session) libssh2_channel_request_pty(channel, "vanilla") libssh2_channel_shell(channel) . libssh2_channel_