[libssh2] Local port forwarding using libssh2

2008-01-04 Thread Sabyasachi Ruj
Has anybody tried to forward a local port to a remote MySQL server? The SSH server and the remote MySQL server is on the same box. I want to connect to the SSH server through libssh2. And want to create a tunnel to MySQL. So that, if I am connecting to my local port with MySQL client, actually it s

[libssh2] How do you create a .so under linux?

2008-01-04 Thread Paul Thomas
I give up. Could anyone tell me how to compile libssh2 into a .so file under Linux? I can't find any documentation on it and am blindly running commands. ./buildconf ./configure make Seemed to at least get me close, but I get tons of compiler errors. Thanks, Paul ---

Re: [libssh2] Feature Request (code included)

2008-01-04 Thread Paul Thomas
Daniel, I've attached the two needed diffs for you to add in the terminal resizing functionallity that Vincent added. Enjoy, Paul About Request a PTY size change on an active channel with a PTY. Note that this does not make sense for all channel types. This is useful if you want to resize the PT

Re: [libssh2] How do you create a .so under linux?

2008-01-04 Thread Dan Fandrich
On Fri, Jan 04, 2008 at 01:28:58PM -0500, Paul Thomas wrote: > I give up. Could anyone tell me how to compile libssh2 into a .so file > under Linux? I can't find any documentation on it and am blindly > running commands. > > ./buildconf > ./configure > make > > Seemed to at least get me close, bu