[libssh2] Interacting with a shell how?

2007-09-08 Thread Paul Thomas
So I've been reading through the docs and I've got a working example that can get to the point where it can open up a shell on a pty, but after that suceeds what do I do now? The guides all say /* At this point the shell can be interacted with using * libssh2_channel_read() * libssh2

Re: [libssh2] (no subject)

2007-09-08 Thread Mark Erikson
> From: "Paul Thomas" <[EMAIL PROTECTED]> > Subject: [libssh2] Interacting with a shell how? > > So I've been reading through the docs and I've got a working example that > can get to the point where it can open up a shell on a pty, but after that > suceeds what do I do now? > > The guides all sa

Re: [libssh2] (no subject)

2007-09-08 Thread Paul Thomas
The problem that I have isn't that I don't know how to read and write stuff to my ssh connection, its that after setting up a shell, I don't get anything over the socket. if (libssh2_channel_request_pty(m_channel, "vt100")) { log( "Failed requesting pty"); } if