Re: [libssh2] wishlist?

2009-01-22 Thread Paul Thomas
7;ll see if I can;t throw one together and attach it to the bug report. Paul On Thu, Jan 22, 2009 at 3:46 PM, Daniel Stenberg wrote: > On Thu, 22 Jan 2009, Paul Thomas wrote: > > > 1) Multiple channel creation fails: 1st channel always succeeds, 2nd > channel > > fails, ret

Re: [libssh2] wishlist?

2009-01-22 Thread Paul Thomas
Bugs: 1) Multiple channel creation fails: 1st channel always succeeds, 2nd channel fails, retrying 2nd channel creations sometimes succeeds. 2) X11 forwarding doesn't work. Data sent over an X11 channel seems to get mangled. Paul On Thu, Jan 22, 2009 at 4:36 AM, Daniel Stenberg wrote: > Hey >

Re: [libssh2] libssh2 install fails on AIX 5.3

2008-12-17 Thread Paul Thomas
hout a hitch. > > I did not see any options that shows how to install it with headers. How > do I do that? > > > > Thanks, > > Mark > > > > *From:* Paul Thomas [mailto:thoma...@gmail.com] > *Sent:* Wednesday, December 17, 2008 11:15 AM > *To:* David

Re: [libssh2] libssh2 install fails on AIX 5.3

2008-12-17 Thread Paul Thomas
Looks to me like you are missing OpenSSL headers. Install OpenSSL with headers would be my suggestion. Paul On Wed, Dec 17, 2008 at 11:02 AM, David M. Funk wrote: > Folks, > > > > I am getting an error when I try to install libssh2-0.18 on my aix server. > Anybody run into this? Any help will

Re: [libssh2] recent change in channel_read_ex

2008-11-01 Thread Paul Thomas
20, 2008 at 1:22 PM, Paul Thomas <[EMAIL PROTECTED]> wrote: > That patch that I added that changed the line you are referring to was done > to fix an issue where small amounts of data weren't getting picked up on the > channel_read when it only recieved 1~8 chars of data. L

Re: [libssh2] recent change in channel_read_ex

2008-10-20 Thread Paul Thomas
That patch that I added that changed the line you are referring to was done to fix an issue where small amounts of data weren't getting picked up on the channel_read when it only recieved 1~8 chars of data. Looks like I forgot a case dealing with the while loop on line 1533. I took a quick look...

Re: [libssh2] wiki account request

2008-10-06 Thread Paul Thomas
Ah, thanks! Paul On Mon, Oct 6, 2008 at 7:29 AM, Tor Arntsen <[EMAIL PROTECTED]> wrote: > On Thu, Oct 2, 2008 at 14:38, Paul Thomas <[EMAIL PROTECTED]> wrote: >> *forgot to hit "reply all" > > This is off topic, but as I notice you have a gmail account

Re: [libssh2] wiki account request

2008-10-04 Thread Paul Thomas
*forgot to hit "reply all" On Thu, Oct 2, 2008 at 8:38 AM, Paul Thomas <[EMAIL PROTECTED]> wrote: > Ok, I'll make sure and update the docs in the CVS tree. Also, I'll > take care of the faults you listed below tonight (10-12hrs from now). > Before I make any

[libssh2] bug #2141548

2008-10-04 Thread Paul Thomas
Developers, I commited a code fix for the above bug but I wasn't able to close the bug out. So I think since I'm a little new to bug fixing on this project, could... 1) Someone double check the code I commited 2) Please close out that bug. Thanks, Paul --

Re: [libssh2] wiki account request

2008-10-02 Thread Paul Thomas
]> wrote: > On Thu, 2 Oct 2008, Paul Thomas wrote: > >> Ok, I'll make sure and update the docs in the CVS tree. Also, I'll take care >> of the faults you listed below tonight (10-12hrs from now). Before I make >> any other commits, are their any other general

[libssh2] wiki account request

2008-10-01 Thread Paul Thomas
Developers, Could I get an account on the wiki so that I can update it? I'd like to at least update the reference for the pty resizing functionality that I added in. Thanks, Paul - This SF.Net email is sponsored by the Mobli

[libssh2] Bug question

2008-09-27 Thread Paul Thomas
Developers... So I've been using your ssh library for about a year now and I've been trying to get some of the more advanced features working, namely ssh tunneling and x11 forwarding on windows. Well, I'm pretty much at a stand still from bugs in the library. I was browsing the bug database after

Re: [libssh2] libssh2 compatibility with MFC, Visual Studio applications...

2008-09-25 Thread Paul Thomas
A tiny bit of reading libssh2's sourceforge project page will answer your question. http://sourceforge.net/projects/libssh2 Paul On Thu, Sep 25, 2008 at 3:12 PM, Kshitij Deshpande <[EMAIL PROTECTED]> wrote: > Hello all, > >I am new to libssh2 and want to use the same with an application >

[libssh2] Multiple channel creation bug

2008-09-12 Thread Paul Thomas
Developers, I've ran into a bug that's causing me some serious trouble using the libssh2 library. I'm trying to get x11 forwarding working on my custom ssh client and am having problems creating more than one channel. I was browsing the bug repository and noticed that two other people have written

Re: [libssh2] How to set env vars

2008-09-11 Thread Paul Thomas
web links on the subject of x11 forwarding and/or ssh tunneling. Paul On Thu, Sep 11, 2008 at 9:38 PM, Paul Thomas <[EMAIL PROTECTED]> wrote: > Ok, that sheds some light on the problem: > debug2: Ignoring env request woot: disallowed name > > So let me guess, there is som

Re: [libssh2] How to set env vars

2008-09-11 Thread Paul Thomas
Ok, that sheds some light on the problem: debug2: Ignoring env request woot: disallowed name So let me guess, there is something I have to enable in the server's ssh config? Paul On Thu, Sep 11, 2008 at 9:33 PM, Peter Stuge <[EMAIL PROTECTED]> wrote: > Paul Thomas wrote: >>

Re: [libssh2] How to set env vars

2008-09-11 Thread Paul Thomas
How do I enable the ssh server to run in debug mode? The SSH version of my server is: OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007 Paul On Thu, Sep 11, 2008 at 9:21 PM, Peter Stuge <[EMAIL PROTECTED]> wrote: > Paul Thomas wrote: >> The value returned from the fun

Re: [libssh2] How to set env vars

2008-09-11 Thread Paul Thomas
The value returned from the function is -1 and the error message is: Unable to complete request for channel-setenv Paul On Thu, Sep 11, 2008 at 9:15 PM, Peter Stuge <[EMAIL PROTECTED]> wrote: > Paul Thomas wrote: >> Anyone know how to get an enviornmental variable set through

[libssh2] How to set env vars

2008-09-11 Thread Paul Thomas
Anyone know how to get an enviornmental variable set through the library? The doc says to just do: libssh2_channel_setenv_ex( channelPtr, "variableName_Foo", "variableValue_Bar"); But the function always returns -1, failure. I'm getting a valid channel pointer help? Paul ---

Re: [libssh2] Linux: Polling is completely broken.

2008-03-06 Thread Paul Thomas
Ah, another debian based user! Excellent. On Thu, Mar 6, 2008 at 5:06 PM, Daniel Stenberg <[EMAIL PROTECTED]> wrote: > On Thu, 6 Mar 2008, Paul Thomas wrote: > > > > I'll see what I can do to get you guys a decent example. Do any of you have > > a *nix developme

Re: [libssh2] Linux: Polling is completely broken.

2008-03-06 Thread Paul Thomas
ble to use it? I think I could get a Qt based example together a little bit quicker. Paul On Thu, Mar 6, 2008 at 4:35 PM, Daniel Stenberg <[EMAIL PROTECTED]> wrote: > On Thu, 6 Mar 2008, Paul Thomas wrote: > > > I've found a bug. Its causing me some grief. > > >

[libssh2] Linux: Polling is completely broken.

2008-03-06 Thread Paul Thomas
: Gentoo Linux with latest updates Kubuntu Linux 7.10 with latest updates using libssh2 from CVS Regards, Paul Thomas - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://

Re: [libssh2] how to catch an emulated console closing

2008-02-24 Thread Paul Thomas
Hmm, I guess I'll just have to play around with it then! Thanks, Paul On Sun, Feb 24, 2008 at 2:32 PM, Peter Stuge <[EMAIL PROTECTED]> wrote: > On Sat, Feb 23, 2008 at 09:10:33PM -0500, Paul Thomas wrote: > > I guess the shell closes and the channel is still open... so if

[libssh2] how to catch an emulated console closing

2008-02-23 Thread Paul Thomas
Developers, I've been trying to figure out how to use the library to find out when a channel closes... For instance, I have a channel that I've opened up a pty and a shell on which helps me emulate a console. When the user types in "exit" the console session ends, but I'm not sure how to find out

Re: [libssh2] Xterm resizing?

2008-02-06 Thread Paul Thomas
Well, If anyone's worried about permission from Vincent, I've attached a copy of the reply below and also CC'd him on this email. Paul [EMAIL PROTECTED] to me show details Jan 4 Reply Paul Thomas a écrit : > Vincent, > > With your permission, I'd like to

[libssh2] Xterm resizing?

2008-02-06 Thread Paul Thomas
I'm using libssh2 cvs and a while back I posted a question regarding resizing a terminal. Another reader posted code so that libssh2 would support terminal resizing. That code worked pretty good. Now I'm at another snag though. Two questions: 1) How come the code patch that I submitted on Vincent

Re: [libssh2] polling isn't working on linux

2008-01-26 Thread Paul Thomas
uot;select" function cause I imagine that would interfere with the library. Paul On Jan 25, 2008 11:13 PM, Paul Thomas <[EMAIL PROTECTED]> wrote: > DevelopersI'm having library problems again, heres my problem. > > The same code that I have works quite well on windo

[libssh2] polling isn't working on linux

2008-01-25 Thread Paul Thomas
DevelopersI'm having library problems again, heres my problem. The same code that I have works quite well on windows. But running this same code on linux randomly returns 0 when their is in fact data on the socket. I'm using Qt4 and am using the QSocketNotifier class to tell me when there is d

Re: [libssh2] Tunneling?

2008-01-07 Thread Paul Thomas
pplication to connect to. I then listen on that port. When that port receives data...I write that to the channel? Likewise when that channel recieves data, i write it to the local socket? Paul On Jan 7, 2008 11:29 PM, Peter Stuge <[EMAIL PROTECTED]> wrote: > > On Mon, Jan 07, 2008 at

[libssh2] Tunneling?

2008-01-07 Thread Paul Thomas
Developers, Yeah, I'm asking for help again ;p Is there more to setting up a TCP/IP tunnel then just calling libssh2_channel_direct_tcpip_ex() with the needed information? I'm trying to get tunneling working and haven't had any luck so far. The function returns a valid channel instance, but I'm un

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

[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 ---

[libssh2] Feature Request (code included)

2008-01-03 Thread Paul Thomas
Developers, Vincent Jaulin gave me a function that isn't in your library. It lets the open shell session receive resize hints. Would you add it to the library please? Here's the code and I can verify that it works. Thanks, Paul Thomas code -- LIBSS

Re: [libssh2] libssh2-devel Digest, Vol 19, Issue 9

2007-12-23 Thread Paul Thomas
Thanks for the response. Hopefully, I'll be able to get to that in my coding today. I'll let you know what I find out. Paul On Dec 20, 2007 7:05 PM, Mark Erikson <[EMAIL PROTECTED]> wrote: > > Developers, > > > > I've got a simpler question than last time. And btw, thanks for the > > help on that

[libssh2] Pty resizing

2007-12-19 Thread Paul Thomas
Developers, I've got a simpler question than last time. And btw, thanks for the help on that last one! Ok, I know that I can use libssh2_channel_request_pty_ex() to get a terminal and specify its width and height. Is there anyway that after that pty is alive that I can make it re-adjust its dimen

Re: [libssh2] userauth_keyboard_interactive problem

2007-12-15 Thread Paul Thomas
at, Dec 15, 2007 at 05:57:20PM -0500, Paul Thomas wrote: > > I'm completely lost as to how I could "store an array of functors for > > objects using libssh2". Is this some undocumented part of the library? > > Would I somehow tell the library about my object's

Re: [libssh2] userauth_keyboard_interactive problem

2007-12-15 Thread Paul Thomas
andrich <[EMAIL PROTECTED]> wrote: > On Fri, Dec 14, 2007 at 11:51:47PM -0500, Paul Thomas wrote: > > For instance, let's say we have two threads that contain a C++ class > > that have the libssh2 library wrapped up. Because of the C callback > > function that's r

Re: [libssh2] userauth_keyboard_interactive problem

2007-12-15 Thread Paul Thomas
ed. SSHConnection* this_ = static_cast(*abstract); password = this_->getPassword(); But at this point, running my getPassword() function dies because it tries to return the value of a SSHConnection member variable that doesn;t exist because the this_ pointer is not valid. Any ideas? Paul On Dec 1

Re: [libssh2] userauth_keyboard_interactive problem

2007-12-15 Thread Paul Thomas
Mikhail , Thanks a lot! That example was exactly what I needed to see! I couldn't figure out any way out of being stuck with using static member functions. thanks, Paul On Dec 15, 2007 1:15 AM, Mikhail Gusarov <[EMAIL PROTECTED]> wrote: > "Paul Thomas" <[EMAIL PROTEC

[libssh2] userauth_keyboard_interactive problem

2007-12-14 Thread Paul Thomas
ossibility that a future version of libssh2 will give the ability to just do something as simple as: libssh2_userauth_keyboard_interactive( session, username, password) Then if someone like me is using C++, then we aren't stuck only using static functions with keyboard interactive au

Re: [libssh2] [ libssh2-Bugs-1772505 ] Visual Studio project files are corrupt

2007-09-23 Thread Paul Thomas
I had used WinRAR. However, I also downloaded the files directly from the CVS repository. Doesn't really matter now, they fixed this problem a while ago! Paul On 9/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > hi, > > i am not sure this is useful, but i have had the same problem. > It o

Re: [libssh2] (no subject)

2007-09-10 Thread Paul Thomas
So I take it no one out there has any idea how to actually get things going with this library? I can create the shell..now what? Why isn't there a bash like prompt being sent back to me over the socket? On 9/9/07, Paul Thomas <[EMAIL PROTECTED]> wrote: > > The problem that I

Re: [libssh2] (no subject)

2007-09-08 Thread Paul Thomas
[EMAIL PROTECTED] $ But there's nothing. So I tried to startup a terminal and then read from the channel and still no data. How do I tell it to fire up a terminal on the remote end? Or how do I get the default prompt? Thanks, Paul On 9/9/07, Mark Erikson <[EMAIL PROTECTED]> wro

[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] Trouble compiling example projects

2007-08-14 Thread Paul Thomas
BTW - the ssh2.c example finally does keyboard-interactive authentication just fine on my bleeding edge Linux box. Keep up the good work devs! Paul On 8/14/07, Paul Thomas <[EMAIL PROTECTED]> wrote: > > Hello all, > > I was trying to test the latest libssh2 stuff and went to

[libssh2] Trouble compiling example projects

2007-08-14 Thread Paul Thomas
Hello all, I was trying to test the latest libssh2 stuff and went to build the ssh2.cexample and found that it was unable to find the " config.h" file. How do I go about generating this? There really are not any windows build instructions for any of the examples... no NMakefile either. I've got th

Re: [libssh2] anything blocking a 0.16 release?

2007-08-01 Thread Paul Thomas
I'm lost here. What does libcurl have to do with libssh2? Does libcurl use libssh2 for its ssh connection stuff? If they do, what version of libssh2 are they using? Paul On 8/1/07, James Housley <[EMAIL PROTECTED]> wrote: > > On Aug 1, 2007, at 8:53 AM, Paul Thomas wrote: >

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-08-01 Thread Paul Thomas
So just to clarify, why are we talking about libcurl? Have you had any further luck getting keyboard authentication working? Paul On 7/23/07, Paul Thomas <[EMAIL PROTECTED]> wrote: > > MSVC 2005 is my platform of choice because of how amazing of a development > environment it is

Re: [libssh2] anything blocking a 0.16 release?

2007-08-01 Thread Paul Thomas
On 8/1/07, Daniel Stenberg <[EMAIL PROTECTED]> wrote: > > On Wed, 1 Aug 2007, Paul Thomas wrote: > > > It never worked. I tried from the 0.15 release up to current version > with > > the same results. > > I was actually thinking about versions before 0.15

Re: [libssh2] anything blocking a 0.16 release?

2007-08-01 Thread Paul Thomas
can't use libssh2. Paul On 8/1/07, Daniel Stenberg <[EMAIL PROTECTED]> wrote: > > On Tue, 31 Jul 2007, Paul Thomas wrote: > > > Did the keyboard interactive authentication ever get fixed? Last time I > > checked out CVS source and built it, it still didn'

Re: [libssh2] anything blocking a 0.16 release?

2007-07-31 Thread Paul Thomas
Did the keyboard interactive authentication ever get fixed? Last time I checked out CVS source and built it, it still didn't. And that was compiling with MSVC2005 (win) and GCC 4.1 (linux). Paul On 7/31/07, Daniel Stenberg <[EMAIL PROTECTED]> wrote: > > Yes, > > I said I wanted a 1.0 release next

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-07-23 Thread Paul Thomas
MSVC 2005 is my platform of choice because of how amazing of a development environment it is. The debugging features are phenomenal. I have yet to see any IDE free or otherwise match it for ease of use and stability. Plus, its free, so it makes for an even nicer development environment ;p Thats s

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-07-23 Thread Paul Thomas
So perhaps I should start a new thread about the keyboard-interactive stuff not working? Or has this been fixed over the weekend? Paul On 7/19/07, Guenter Knauf <[EMAIL PROTECTED]> wrote: Hi Paul, > Alright, you should find the ssh account details in your inbox. I'll be > interested to hear yo

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-07-19 Thread Paul Thomas
lol! A sense of humor! On 7/19/07, Mikhail Gusarov <[EMAIL PROTECTED]> wrote: Twas brillig at 23:27:38 19.07.2007 UTC-04 when Paul Thomas did gyre and gimble: PT> And the strcasecmp (might have typed it wrong) should probably be something PT> more like strcmp. : strcasecmp,

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-07-19 Thread Paul Thomas
On a side note, the ssh2 example needs a little modification to properly compile (at least on vs 2005 ;p ). There's two things that need to be changed. The #include needs to be listed first in the include list. Otherwise some compilers will not have the #defines properly setup before the other #

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-07-19 Thread Paul Thomas
Ok, I updated my code and re-ran it and I can walk through it with my debugger and now it just dies at keyboard authentication. I do not understand how keyboard authentication is supposed to work and the documentation doesn't shed any light on this at all. Does that keyboard callback function need

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-07-17 Thread Paul Thomas
Alright, you should find the ssh account details in your inbox. I'll be interested to hear your results. Paul On 7/17/07, Paul Thomas <[EMAIL PROTECTED]> wrote: Nope, that doesn't work either. There are not any firewalls blocking me, I have direct access to the computer I

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-07-17 Thread Paul Thomas
Nope, that doesn't work either. There are not any firewalls blocking me, I have direct access to the computer I'm trying to connect to. Both of them are on the same 192.168.5.x network. What version of openssh does your linux box run that you are connecting too? Mine's using openssh-4.5_p1-r1. An

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-07-16 Thread Paul Thomas
Compiling on the command line with "cl" gives the same results. _MSC_VER_ = 1400 _WIN32 = 1 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-07-16 Thread Paul Thomas
The sample file under MSVS 2005 prints: _MSC_VER_ = 1400 _WIN32 = 1 ...So the two typdef'd items need to be in there ;p As far as needing each example in its own project, that would be required. However in VS 2005 you can create one solution with multiple projects under it. I'm not sure, but th

Re: [libssh2] libssh2-0.15 Problems authenticating

2007-07-15 Thread Paul Thomas
Ok, I just checked out the current CVS version and rebuilt libssh2 with it. I still ran into the problem of not being able to compile the library out of the box. MSVC 2005 does not define theses two types: ssize_t uint32_t I had to typdef them in under the noted spot in my first post. Just curio

[libssh2] libssh2-0.15 Problems authenticating

2007-07-15 Thread Paul Thomas
aps one of you has an idea on my authentication problem. I could really use some help there! I would be up for contributing/testing stuff it if helps. Like making this more cross-platform friendly ;p PS- I added myself to the dev lis