Re:2

2011-12-30 Thread Asimananda Mohanty
This mailing list has been abandoned! Subscribe to and use the new list instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel -- I want everything from this site! Look at this faster!.. http://www.spassvoegel-woellstein.de

Re:

2011-12-27 Thread Asimananda Mohanty
This mailing list has been abandoned! Subscribe to and use the new list instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel -- Hot sale! Don’t miss your chance to find something hot!... http://www.gbcase.it/christmas.lin

Re:9

2011-12-17 Thread Asimananda Mohanty
This mailing list has been abandoned! Subscribe to and use the new list instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel -- Quickly! Move your ass to this link! .. http://mescla.free.fr/sites.m.php?ifyahooID=28z8

Re:

2011-12-14 Thread Asimananda Mohanty
This mailing list has been abandoned! Subscribe to and use the new list instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel -- Help yourself and safe your money!.. http://www.dl.meuschke-it.de/p.google.php?azpage=03a4 --

Re:5

2011-12-01 Thread Asimananda Mohanty
This mailing list has been abandoned! Subscribe to and use the new list instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel -- You will look very hot at the beach after a 2 weeks treatment with natural weight-loss complex

Re: sftp_read retuning 0 prematurely

2011-09-04 Thread Daniel Stenberg
This mailing list has been abandoned! Subscribe to and use the new list instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel -- On Sun, 4 Sep 2011, Alexander Lamaison wrote: Note that you managed to post to the old list, s

Re: Help - build libssh2

2010-02-12 Thread Peter Stuge
This mailing list has been abandoned! Subscribe to and use the new list instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel -- Hello Yelin, Yelin Chen wrote: > I've just downloaded libssh2.1-2.2.tar.gz from > http://www.l

Re: knownhost.c hostline() fix

2009-07-11 Thread Daniel Stenberg
This mailing list has been abandoned! Subscribe to and use the new list instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel -- On Mon, 8 Jun 2009, Ben Kibbey wrote: > This fixes hostname parsing when only one part is give

RE: libssh2: win32 compilation fails with latest git

2009-06-26 Thread Daniel Stenberg
This mailing list has been abandoned! Subscribe to and use the new list instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel -- On Fri, 26 Jun 2009, Neil Gierman wrote: I'm posting to the new list, cc'ing the old one since

RE: libssh2: win32 compilation fails with latest git

2009-06-26 Thread Neil Gierman
This mailing list has been abandoned! Subscribe to and use the new list instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel -- > > Indeed you did, and I've now committed it. Thanks! > > -- > > / daniel.haxx.se > On

RE: libssh2: win32 compilation fails with latest git

2009-06-26 Thread Daniel Stenberg
On Fri, 26 Jun 2009, Neil Gierman wrote: > I have reported this bug and submitted a patch against the latest snapshot. > In the mean time you can remove the include of "libssh2.h" at the top of > hostkey.c. Only the include of "libssh2_priv.h" is required. Indeed you did, and I've now committed

RE: libssh2: win32 compilation fails with latest git

2009-06-26 Thread Neil Gierman
> Attached I added the log of the compilation under "Visual C++ 2008 Express > Edition" after conversion of the "libssh2.dsw" project. I have reported this bug and submitted a patch against the latest snapshot. In the mean time you can remove the include of "libssh2.h" at the top of hostkey.c.

RE: 64 Bit compilation of libssh2 on AMD 64

2009-06-24 Thread Neil Gierman
>          I am able to compile openSSL fine. I had downloaded libssh2-1.1 but I dont see any instructions to compile it in Windows environment, all I see with it is cygwin compilation insstructions. Any help will be greatly appreciated. thanks Sanjay All you should need to do is open the win32\l

Re: 64 Bit compilation of libssh2 on AMD 64

2009-06-24 Thread Sanjay Thukral
From: Neil Gierman To: libssh2 development Sent: Wednesday, June 24, 2009 1:59:36 PM Subject: RE: 64 Bit compilation of libssh2 on AMD 64 > I am using MsDev studio only. I tried compiling libssh2 using x64 Visual studio but it keeps looking for libssl and libcrypt which are not there in my o

Re: 64 Bit compilation of libssh2 on AMD 64

2009-06-24 Thread Sanjay Thukral
That is so great. Appreciate your help. I will give this a try and keep you updated. Again thanks much for the great help Sanjay From: Neil Gierman To: libssh2 development Sent: Wednesday, June 24, 2009 1:59:36 PM Subject: RE: 64 Bit compilation of libssh2 on

RE: 64 Bit compilation of libssh2 on AMD 64

2009-06-24 Thread Neil Gierman
> I am using MsDev studio only. I tried compiling libssh2 using x64 Visual studio but it keeps looking for libssl and libcrypt which are not there in my open SSL installation. Any ideas ? Below are my Pre-Build Event commands to compile OpenSSL and place it in the directory where my Solution Link

Re: 64 Bit compilation of libssh2 on AMD 64

2009-06-24 Thread Sanjay Thukral
, 2009 1:38:17 PM Subject: RE: 64 Bit compilation of libssh2 on AMD 64 >Can libssh2 be compiled for 64 Bit AMD platform. I see there exists a makefile for Win32 but what about Win64. Has any one done that , if so >please share the info about it e.g related Makefile, special commans or flags

RE: 64 Bit compilation of libssh2 on AMD 64

2009-06-24 Thread Neil Gierman
>    Can libssh2 be compiled for 64 Bit AMD platform. I see there exists a makefile for Win32 but what about Win64. Has any one done that , if so >please share the info about it e.g related Makefile, special commans or flags to be set etc. I have compiled x64 versions of libssh2 using Visual Studi

Re: channel_read

2009-06-23 Thread Ben Kibbey
On Tue, Jun 23, 2009 at 07:45:58AM +0200, Daniel Stenberg wrote: > On Mon, 22 Jun 2009, Ben Kibbey wrote: > > > The problem is that _libssh2_transport_read() blocks until there is data to > > be read which causes libssh2_channel_write() and libssh2_channel_read() to > > block. If _libssh2_recv(

Re: channel_read

2009-06-22 Thread Daniel Stenberg
On Mon, 22 Jun 2009, Ben Kibbey wrote: > The problem is that _libssh2_transport_read() blocks until there is data to > be read which causes libssh2_channel_write() and libssh2_channel_read() to > block. If _libssh2_recv() could be made to always do a non-blocking read, > then restore the flags

Re: channel_read

2009-06-22 Thread Ben Kibbey
On Wed, Jun 10, 2009 at 09:15:59PM -0400, Ben Kibbey wrote: > hello, > > Theres a problem in _libssh2_transport_read() that when the calling > function loops over it's return value (>0 in channel_read()) and nread > != recv_amount but contains data, the next call to > _libssh2_transport_read() wil

Re: "Unable to request a channel from remote host" (fwd)

2009-06-21 Thread Ian Schorr
I didn't see it - but I have the same problem with the latest CVS version and I'll open one now. Thanks. -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days

Re: "Unable to request a channel from remote host" (fwd)

2009-06-21 Thread Guenter
Hi Ian, Ian Schorr schrieb: > Any idea where I'd find contact info for the "PHP team"? I haven't > found any (seemed to imply this list), which is why I came here first. didnt you read my reply from 18.06 where I posted this info? In case you missed that mail here again: use the PECL bug tracker

Re: "Unable to request a channel from remote host" (fwd)

2009-06-21 Thread Ian Schorr
Any idea where I'd find contact info for the "PHP team"? I haven't found any (seemed to imply this list), which is why I came here first. Though like I said earlier, I started by testing with the "latest", which is where the problem was introduced. > PHP problems should get directed to the PHP

Re: "Unable to request a channel from remote host" (fwd)

2009-06-18 Thread Daniel Stenberg
On Thu, 18 Jun 2009, Ian Schorr wrote: >> If you'd convert your program to a plain libssh2 example I would perhaps be >> able to answer those questions. Speaking in PHP terms isn't making this >> very easy for us... > > I'm not sure if I'll have the cycles myself to do this, but I'll see what I

Re: "Unable to request a channel from remote host" (fwd)

2009-06-17 Thread Guenter
Hi Ian, Ian Schorr schrieb: > I'm not sure if I'll have the cycles myself to do this, but I'll see > what I can do. In the meantime if you have any other debugging > suggestions, let me know. If the problem only happens with the PHP > library, what would you suggest I do/contact? of course the PE

Re: "Unable to request a channel from remote host" (fwd)

2009-06-17 Thread Ian Schorr
On Wed, Jun 17, 2009 at 5:37 PM, Daniel Stenberg wrote: > > > Well, I can tell you that anything that is libssh2 below 0.18 is hopelessly > outdated and bugridden. And if you do take the step right into getting a > modern > version, I really suggest you go with 1.1 as that's clearly the best > ve

Re: follow up: libssh2_channel_read returns 0 when channel has been closed

2009-06-17 Thread Daniel Stenberg
On Mon, 15 Jun 2009, Phillip Wu wrote: > Is it not possible for a non-blocking read to return 0 when there is no data > to read but in actual fact the remote side has sent an EOF? Oh, right you are! > In non-blocking mode when I get a 0, I could confirm that eof has been sent > by calling libssh

Re: "Unable to request a channel from remote host" (fwd)

2009-06-17 Thread Daniel Stenberg
Blurg, I messed up so my response never showed... -- / daniel.haxx.se -- Forwarded message -- Date: Tue, 16 Jun 2009 10:56:28 To: libssh2 development Subject: Re: "Unable to request a channel from remote host" On Tue, 16 Jun 2009, Ian Schorr wrote: > Sorry i

Re: SCP download slow

2009-06-16 Thread webmas...@keyphrene.com
Yes I know, I talk only LibSSH2. I use SCP with scp_block. I had a good download transfer (SCP_Get) with 0.18 and now the transfer begins 6Mb/s, and decrease to 7Kb/s. I will make another tests and keep in touch. Vincent JAULIN Daniel Stenberg a écrit : > On Tue, 16 Jun 2009, webmas...@keyphren

Re: SCP download slow

2009-06-16 Thread Daniel Stenberg
On Tue, 16 Jun 2009, webmas...@keyphrene.com wrote: > I have upgraded LibSSH 0.18 to LibSSH 1.1, and I have a problem during SCP > data transfer (download). > > The transfer is very slow with a file of 20Mb or more. > > Have you an idea? You need to tell us a lot more details. Are you for example

Re: EAGAIN in blocking mode with auth

2009-06-16 Thread Daniel Stenberg
On Tue, 16 Jun 2009, Jeremy Knope wrote: > I've been seeing a problem where I get the LIBSSH2_ERROR_EAGAIN error > when trying libssh2_userauth_password(). This is only happening it > seems when connecting to localhost (maybe something equally as fast?) > The error text says would block exchangi

RE: Windows issues with latest snapshot

2009-06-15 Thread Neil Gierman
> -Original Message- > From: Neil Gierman [mailto:ngier...@roadrunn.com] > Sent: Sunday, June 14, 2009 8:03 PM > > Yes updating that line in libssh2.h line 74 to be <= 1500 instead of <= > 1400 > also fixes the problem > > Sorry for the duplicate but when I did my previous fix, I didn't

RE: Windows issues with latest snapshot

2009-06-14 Thread Neil Gierman
> From: Daniel Stenberg [mailto:dan...@haxx.se] > Sent: Sunday, June 14, 2009 4:02 PM > > Isn't it enough to raise the check at line 74 to be <= 1500 instead of > 1400? > It seems odd to duplicate that section. Yes updating that line in libssh2.h line 74 to be <= 1500 instead of <= 1400 also fix

Re: comparing with libssh

2009-06-14 Thread Peter Stuge
Daniel Stenberg wrote: > > You can force settings on the server side. > > > > Also enable lots of logging on the server side, to learn what the > > client is using. > > Sure, but that's no longer "easily" e.g.: /usr/sbin/sshd '-oport 222' '-omacs hmac-sha1,umac...@openssh.com' \ '-ociphers aes

Re: planning the mailing list move

2009-06-14 Thread Daniel Stenberg
On Sun, 14 Jun 2009, Daniel Stenberg wrote: > Subscribe to the new list at: Oh I forgot: I'll happily accept one or two co-admins of the libssh2 lists. So if you want to get yourself some fine libssh2 mailing list admin work please volunteer by mailing me privately saying so! -- / daniel.h

Re: Windows issues with latest snapshot

2009-06-14 Thread Daniel Stenberg
On Sat, 13 Jun 2009, Neil Gierman wrote: > I am using Visual Studio 2008 so my _MSC_VER is 1500 but ssize_t is not > defined. Isn't it enough to raise the check at line 74 to be <= 1500 instead of 1400? It seems odd to duplicate that section. > Now I have an issue with the new hostkey stuff. Wh

Re: comparing with libssh

2009-06-14 Thread Daniel Stenberg
On Sun, 14 Jun 2009, Peter Stuge wrote: > You can force settings on the server side. > > Also enable lots of logging on the server side, to learn what the client is > using. Sure, but that's no longer "easily" and quite honestly I'm not *that* interested. I've already made my choice and investe

Re: comparing with libssh

2009-06-13 Thread Peter Stuge
Daniel Stenberg wrote: > > encryption/MAC algorithm > > I'm not sure I can figure that out easily. You can force settings on the server side. Also enable lots of logging on the server side, to learn what the client is using. //Peter

Re: comparing with libssh

2009-06-13 Thread Daniel Stenberg
On Sat, 13 Jun 2009, Simon Josefsson wrote: >> 693M bytes file took 21.89 seconds. Speed: 31.6MB/sec >> 693M bytes file took 50.96 seconds. Speed: 13.6MB/sec > > I'm curious if there is any difference in encryption/MAC algorithm choice > between these libraries? Hm, yes that's indeed a sensible

Re: comparing with libssh

2009-06-13 Thread Simon Josefsson
Daniel Stenberg writes: > On Thu, 11 Jun 2009, Daniel Stenberg wrote: > >> This said, I even failed to build this on Linux... I was tempted to do a >> speed comparison but I'll put that on hold for now. > > libssh2 test: > > $ ./scp_nonblock 127.0.0.1 [user] [password] [big file] >/dev/null >

Re: libssh2_channel_read returns 0 when channel has been closed

2009-06-13 Thread Daniel Stenberg
On Fri, 12 Jun 2009, Phillip Wu wrote: > I have looked at the code for channel_read and it appears that it returns 0 > when the remote end has closed the channel: ... > I think that the channel_read routine should return > LIBSSH2_ERROR_CHANNEL_CLOSED rather than 0. But isn't a return code of

Re: Bad window size in WINDOW_ADJUST from SSH.COM ssh server

2009-06-12 Thread Daniel Stenberg
On Thu, 11 Jun 2009, robs_mailli...@cotrone.com wrote: > There seems to be an issue with libssh2 1.1 with SFTP while opening a > transfer with ssh.com SSH server. ... > [libssh2] 1.693161 Transport: Disconnect(2): Bad window size in > WINDOW_ADJUST.(en) Ouch. > [libssh2] 1.337098 Conn: Adjust

Re: comparing with libssh

2009-06-12 Thread Daniel Stenberg
On Thu, 11 Jun 2009, Daniel Stenberg wrote: > This said, I even failed to build this on Linux... I was tempted to do a > speed comparison but I'll put that on hold for now. libssh2 test: $ ./scp_nonblock 127.0.0.1 [user] [password] [big file] >/dev/null 693M bytes file took 21.89 seconds. Sp

Re: knownhost.c hostline() fix

2009-06-11 Thread Daniel Stenberg
On Wed, 10 Jun 2009, Ben Kibbey wrote: > Sure. glad to help. Here's a minor fix for writing a null byte at the > end of a line in the known host file: > -nwrote = fwrite(buffer, 1, wrote, file); > -if(nwrote != wrote) { > +nwrote = fprintf(file, "%s", buffer); > +

Re: comparing with libssh

2009-06-11 Thread Alexander Lamaison
2009/6/11 Daniel Stenberg : > On Thu, 11 Jun 2009, Alexander Lamaison wrote: > >> One major limitation of libssh at the time was that it required the GNU >> toolchain (Cygwin/MinGW) so I couldn't use it my Visual Studio project.  I >> have no reason to believe this has changed. > > They've switched

Re: comparing with libssh

2009-06-11 Thread Daniel Stenberg
On Thu, 11 Jun 2009, Alexander Lamaison wrote: > One major limitation of libssh at the time was that it required the GNU > toolchain (Cygwin/MinGW) so I couldn't use it my Visual Studio project. I > have no reason to believe this has changed. They've switched to cmake now for all platforms, an

Re: comparing with libssh

2009-06-11 Thread Alexander Lamaison
2009/6/11 Daniel Stenberg : > I noticed our "competitor" libssh[*] released a 0.3 version not too long ago, > and I felt the need to try to help the world by pointing out differences > between our two merry projects: > >http://libssh2.haxx.se/libssh2-vs-libssh.html > > [*] = http://www.libs

Re: knownhost.c hostline() fix

2009-06-10 Thread Ben Kibbey
On Wed, Jun 10, 2009 at 08:49:32PM +0200, Daniel Stenberg wrote: > On Mon, 8 Jun 2009, Ben Kibbey wrote: > > > This fixes hostname parsing when only one part is given in the host portion: > > Thanks a lot, applied! Sure. glad to help. Here's a minor fix for writing a null byte at the end of a l

Re: knownhost.c hostline() fix

2009-06-10 Thread Daniel Stenberg
On Mon, 8 Jun 2009, Ben Kibbey wrote: > This fixes hostname parsing when only one part is given in the host portion: Thanks a lot, applied! -- / daniel.haxx.se -- Crystal Reports - New Free Runtime and 30 Day Trial

Re: libssh2_channel_read returns no data from a libssh2_channel_exec after an sftp session

2009-06-09 Thread Daniel Stenberg
On Tue, 9 Jun 2009, Phillip Wu wrote: > I call libssh2_channel_exec with the 'date' command and a subsequent call > > to libssh2_channel_read returns the output of the 'date' command as > expected. > > However if I add a sftp session prior to the libssh2_channel_exec with the > 'date' command th

Re: sftp client getting hanged at libssh2_read_

2009-06-08 Thread Daniel Stenberg
On Mon, 8 Jun 2009, Kiran Kottani wrote: > I am using the version libssh2-0.14.. In the function > libssh2_blocking_read() bloking is enabled.. Its a bit older version, > currently i am looking for a patch to fix this bug... > > Upgrading to latest version will be my last option.. Why? 1.1 shou

Re: get off sourceforge?

2009-06-08 Thread Alexander Lamaison
2009/6/6 Daniel Stenberg : > Peter, you were playing with trac install for libssh2 to take care of bug > reports, how's the status there? Something we should/could switch to? > > We were also discussing moving the mailing list(s) to something that doesn't > pollute each outgoing mail with 5 lines o

Re: sftp client getting hanged at libssh2_read_

2009-06-08 Thread Alexander Lamaison
2009/6/8 Kiran Kottani : > > I am using the version libssh2-0.14.. > In the function libssh2_blocking_read() bloking is enabled.. > Its a bit older version, currently i am looking for a patch to fix this > bug... This version is prehistoric and there simply aren't going to be any patches for it.

Re: sftp client getting hanged at libssh2_read_

2009-06-08 Thread Kiran Kottani
I am using the version libssh2-0.14.. In the function libssh2_blocking_read() bloking is enabled.. Its a bit older version, currently i am looking for a patch to fix this bug... Upgrading to latest version will be my last option.. Regards Kiran __

Re: sftp client getting hanged at libssh2_read_

2009-06-08 Thread Daniel Stenberg
On Mon, 8 Jun 2009, Kiran Kottani wrote: > I am using sftp client which is getting hanged sometime at recv function. Is this libssh2 1.1 or later? > Probably it is waiting for some control/data message from SSHD server. It should never block in recv() no matter what it would wait for... --

RE: sftp client getting hanged at libssh2_read_

2009-06-08 Thread Mononen Jussi
> I am using sftp client which is getting hanged sometime at > recv function. > Probably it is waiting for some control/data message from > SSHD server. > Please let me know If any of u experienced the same/similar > problem and found the solution for that. > I wanted to know in what scenario

Re: get off sourceforge?

2009-06-06 Thread Simon Josefsson
Daniel Stenberg writes: > Hello > > Peter, you were playing with trac install for libssh2 to take care of bug > reports, how's the status there? Something we should/could switch to? > > We were also discussing moving the mailing list(s) to something that doesn't > pollute each outgoing mail wit

Re: known hosts API, updated

2009-06-05 Thread Daniel Stenberg
On Thu, 4 Jun 2009, Ben Kibbey wrote: > What about generating a new known_hosts entry based on the current > connection? something like libssh2_knownhosts_current() which can be > processed before host validation? I'm not sure I follow the logic for such a use case. If you connect to a host ri

Re: known hosts API, updated

2009-06-04 Thread Ben Kibbey
On Fri, May 29, 2009 at 10:22:00AM +0200, Daniel Stenberg wrote: > Hey again, > > Thanks to all the feedback from yday, I've now remodeled the file-based parts > of the API somewhat and the changes are: > > Two new functions: > > libssh2_knownhost_readline() > >- tells libssh2 to read a

Re: [PATCH] Ignore generated files

2009-06-04 Thread Tor Arntsen
On Thu, Jun 4, 2009 at 18:24, Daniel Stenberg wrote: > On Thu, 4 Jun 2009, Tor Arntsen wrote: > >> This is mainly an experiment for sending a patch via email that can be >> applied to a GIT repo, without having to go through 'git push'. > > Worked just fine! Yep! I did another 'git pull' from the

Re: [PATCH] Ignore generated files

2009-06-04 Thread Daniel Stenberg
On Thu, 4 Jun 2009, Tor Arntsen wrote: > This is mainly an experiment for sending a patch via email that can be > applied to a GIT repo, without having to go through 'git push'. Worked just fine! -- / daniel.haxx.se --

Re: libssh2_knownhost_*

2009-05-28 Thread Daniel Stenberg
On Thu, 28 May 2009, Alexander Lamaison wrote: > Oh dear. That's a shame :( I had a look at this article > http://msdn.microsoft.com/en-us/library/ms235460.aspx and it says the > problem only occurs when libssh2 or its client is linked to the CRT > statically (/MT). Although I imagine this is

RE: libssh2_knownhost_*

2009-05-28 Thread Neil Gierman
> From: Alexander Lamaison [mailto:sw...@lammy.co.uk] > Oh dear. That's a shame :( I had a look at this article > http://msdn.microsoft.com/en-us/library/ms235460.aspx and it says the > problem only occurs when libssh2 or its client is linked to the CRT > statically (/MT). Although I imagine thi

Re: libssh2_knownhost_*

2009-05-28 Thread Alexander Lamaison
2009/5/28 Daniel Stenberg : > On Thu, 28 May 2009, Alexander Lamaison wrote: > >> filename parameters:  The knownhost_*file functions take a const char* >> filename parameter which they proceed to open and use.  While this is common >> in APIs, I would argue that it is better to take a FILE* and al

Re: libssh2_knownhost_*

2009-05-28 Thread Peter Stuge
Alexander Lamaison wrote: > libssh2_knownhost_dumpfile: The name of this function implies > something related to debugging but it isn't. I would suggest > something like knownhost_persistfile, knownhost_writefile, or > knownhost_savefile. 'persist' has the advantage of making it > appear next to

Re: libssh2_knownhost_*

2009-05-28 Thread Daniel Stenberg
On Thu, 28 May 2009, Simon Josefsson wrote: Something is missing? ssh2_exec.c:146: error: ‘LIBSSH2_KNOWNHOST_TYPE_DEFAULT’ undeclared (first use in this function) Ah yes, I removed that define but I didn't yet commit my updated example since I have a lot of local test-changes in there too.

Re: libssh2_knownhost_*

2009-05-28 Thread Daniel Stenberg
On Thu, 28 May 2009, Alexander Lamaison wrote: > Thanks for all the great work Daniel. I'm very pleased to see this API > appear. After a quick skim of the code a few issues came to mind: Thanks for your feedback! > libssh2_knownhost_dumpfile: The name of this function implies something > r

Re: libssh2_knownhost_*

2009-05-28 Thread Simon Josefsson
Daniel Stenberg writes: > Hello friends, > > I've just pushed my initial 7 man pages for the known hosts API I've been > working on recently. I'm very interested in comments and feedback on its > functionality. Something is missing? ssh2_exec.c:146: error: ‘LIBSSH2_KNOWNHOST_TYPE_DEFAULT’ und

Re: libssh2_knownhost_*

2009-05-28 Thread Alexander Lamaison
2009/5/28 Daniel Stenberg : > > I've just pushed my initial 7 man pages for the known hosts API I've been > working on recently. I'm very interested in comments and feedback on its > functionality. > > The seven functions are: > >        libssh2_knownhost_add        - adds a known host >        lib

Re: LIBSSH2 and X11 forwarding.

2009-05-28 Thread Daniel Stenberg
On Thu, 28 May 2009, Peter Stuge wrote: >> Or perhaps the question should rather be put: what should we do to libssh2 >> to make this a lot less complicated? > > It's similar to forwarded TCP ports. If libssh2 should take care of > everything it has to manage these connections coming and going.

Re: LIBSSH2 and X11 forwarding.

2009-05-27 Thread Peter Stuge
Daniel Stenberg wrote: > Is it really necessary to do it that way just to get X11 forwarding > to work? --8<-- rfc4251.txt, Page 24 Implementers of the X11 forwarding protocol SHOULD implement the magic cookie access-checking spoofing mechanism, as described in [SSH-CONNECT], as an additional mech

Re: LIBSSH2 and X11 forwarding.

2009-05-26 Thread Olivier Hervieu
recedent post). The entry point for this exemple was the ssh2.c file and, for now, this exemple must be consider as a proof of concept. Time is my enemy and I wish I could have more time to do things better. I'm gonna remove libssh2_poll parts, and replace it by a poll system call. That w

Re: LIBSSH2 and X11 forwarding.

2009-05-26 Thread Daniel Stenberg
e used and I also can't see the point with its use in the example I also re-indented it somewhat to better adhere to our style and I removed a bunch of compiler warnings. The current version is attached. -- / daniel.haxx.se/* * * Sample showing how to makes SSH2 with X11 F

Re: libssh2 with git

2009-05-25 Thread Daniel Stenberg
On Mon, 25 May 2009, Tor Arntsen wrote: > So presumably you have your own cloned repo which you work in (just as the > rest of us), where you commit, and then push? Exactly. > In that case, there's a nice trick - if you after a commit find that a > comment should be fixed or there's some other

Re: libssh2 with git

2009-05-25 Thread Tor Arntsen
On Mon, May 25, 2009 at 11:50, Daniel Stenberg wrote: > On Mon, 25 May 2009, Tor Arntsen wrote: > >>> So you checkout from here   => git://git.stuge.se/libssh2.git >> >> Hi, for my own curiosity (mostly - because it'll have an impact on the >> 'allow push' discussion too), is this repo a 'bare' (o

Re: libssh2 with git

2009-05-25 Thread Peter Stuge
Tor Arntsen wrote: > > So you checkout from here   => git://git.stuge.se/libssh2.git > > is this repo a 'bare' (or 'naked') repo? Yep. //Peter -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is

Re: libssh2 with git

2009-05-25 Thread Daniel Stenberg
On Mon, 25 May 2009, Tor Arntsen wrote: So you checkout from here   => git://git.stuge.se/libssh2.git Hi, for my own curiosity (mostly - because it'll have an impact on the 'allow push' discussion too), is this repo a 'bare' (or 'naked') repo? Or is it the one you're working directly in? Or

Re: libssh2 with git

2009-05-25 Thread Tor Arntsen
On Wed, May 20, 2009 at 14:44, Daniel Stenberg wrote: > Hey > > I've switched to git for my libssh2 development, kindly setup and handled by > Peter Stuge for our pleasure. > > So you checkout from here   => git://git.stuge.se/libssh2.git [...] Hi, for my own curiosity (mostly - because it'll hav

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

2009-05-25 Thread Daniel Stenberg
On Sun, 24 May 2009, Peter Stuge 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. Right, I think I just made the little necessary changes for th

Re: libssh2 - Shell command not being acted upon

2009-05-25 Thread Daniel Stenberg
On Mon, 25 May 2009, Phillip Wu wrote: > I have started using libssh2. Welcome to our merry little corner of the universe! > I have used ssh2.c example from the download bundle. I'd suggest you take a look at ssh2_exec.c instead, which has been added recently. It shows what sounds to be pretty

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

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 with git

2009-05-22 Thread Peter Stuge
Hi, Yang Tse wrote: > > > Would it be possible to somehow have commitdiff's or diffs > > > between versions show up on the web interface as full-file > > > dif's? > > Something like what is described on the following thread: > > http://kerneltrap.org/index.php?q=mailarchive/git/2007/9/19/270357/

Re: libssh2 with git

2009-05-22 Thread Yang Tse
Hi Peter, 2009/5/22, Peter Stuge wrote: > Yang Tse wrote: > > Would it be possible to somehow have commitdiff's or diffs between > > versions show up on the web interface as full-file dif's? > > I'm sorry, but I'm not sure I understand exactly what you are > requesting here. Can you please clarif

Re: tests for all of API

2009-05-22 Thread Daniel Stenberg
On Wed, 20 May 2009, David Rennalls wrote: > is there more example/test code that could make it's way into CVS ? I don't have any examples nor tests pending, although I would very much welcome such addition. Especially our lack of test cases is a serious problem I think. -- / daniel.haxx.s

Re: libssh2 with git

2009-05-22 Thread Mikhail Gusarov
Twas brillig at 22:11:59 22.05.2009 UTC+02 when dan...@haxx.se did gyre and gimble: DS> I think I'll prefer to mimic the previous way of working for now, DS> so that all existing committers can be given git push access to DS> this master repo. Anything need to be done for this? Though I'm f

Re: libssh2 with git

2009-05-22 Thread Daniel Stenberg
On Fri, 22 May 2009, Peter Stuge wrote: > Anyone who should be able to push can get access. I could also make > an experimental repo or two if someone wants me to host a sandbox. > > Another possible workflow is to work in a separate repo and send pull > requests to Daniel when happy, he then pul

Re: libssh2 with git

2009-05-22 Thread Peter Stuge
Hello Yang, Yang Tse wrote: > Would it be possible to somehow have commitdiff's or diffs between > versions show up on the web interface as full-file dif's? I'm sorry, but I'm not sure I understand exactly what you are requesting here. Can you please clarify a little? > IMO Many times just the

Re: libssh2 with git

2009-05-22 Thread Yang Tse
Hi, Would it be possible to somehow have commitdiff's or diffs between versions show up on the web interface as full-file dif's? IMO Many times just the colored diff -u is less usefull than the whole file diff. Or is this standard when using git? Thanks, -- -=[Yang]=-

Re: libssh2 with git

2009-05-22 Thread Peter Stuge
Grigory Grubsky wrote: > > it is possible to clone also from http:// URLs > > Wow! Now it works for me. > Very swiftly. Thanks. Great! Thanks. //Peter -- Register Now for Creativity and Technology (CaT), June 3rd, NYC.

Re: libssh2 with git

2009-05-22 Thread Grigory Grubsky
On Fri, May 22, 2009 at 4:47 PM, Peter Stuge wrote: > Grigory Grubsky wrote: > > > So you checkout from here => git://git.stuge.se/libssh2.git > > > And browse with gitweb here => http://git.stuge.se/ > > > > # GIT_CURL_VERBOSE=1 git clone http://git.stuge.se/libssh2.git > > I foresee this beco

Re: libssh2 with git

2009-05-22 Thread Peter Stuge
Grigory Grubsky wrote: > > Can you try cloning using git:// instead of http:// ? > > I found the only one way to work with git through proxy. It > requires the changing protocol-prefix. It requires special support on the server side. I have now made the neccessary changes in the configuration, so

Re: libssh2 with git

2009-05-22 Thread Grigory Grubsky
On Fri, May 22, 2009 at 3:48 PM, Peter Stuge wrote: > Hi Grigory, > > Grigory Grubsky wrote: > > > So you checkout from here => git://git.stuge.se/libssh2.git > > > > But now I have the trouble: > > > > # GIT_CURL_VERBOSE=1 git clone http://git.stuge.se/libssh2.git > > Can you try cloning using

Re: libssh2 with git

2009-05-22 Thread Peter Stuge
Grigory Grubsky wrote: > > So you checkout from here => git://git.stuge.se/libssh2.git > > And browse with gitweb here => http://git.stuge.se/ > > # GIT_CURL_VERBOSE=1 git clone http://git.stuge.se/libssh2.git I foresee this becoming a recurring report, so I have now made it so that it is possi

Re: libssh2 with git

2009-05-22 Thread Peter Stuge
Alexander Lamaison wrote: > > git repo available via CVS > > How many need it? > > I don't really need it. Was being greedy. If it were trivial to > set up then fair enough but otherwise I will cope. Not trivial, there is a frontend, but it requires some configuration and special handling, and

Re: libssh2 with git

2009-05-22 Thread Alexander Lamaison
2009/5/22 Peter Stuge : > There was a question about making the git repo available via CVS > protocol and if there is some demand for that I could set it up. > I think that will be read only though, and I don't know how motivated > I am to do it if it will not be widely used. How many need it? I d

Re: libssh2 with git

2009-05-22 Thread Peter Stuge
Simon Josefsson wrote: > > I've switched to git for my libssh2 development, kindly setup and > > handled by Peter Stuge for our pleasure. > > Will it be possible for others to commit? Anyone who should be able to push can get access. I could also make an experimental repo or two if someone wants

Re: libssh2 with git

2009-05-22 Thread Peter Stuge
Hi Grigory, Grigory Grubsky wrote: > > So you checkout from here => git://git.stuge.se/libssh2.git > > But now I have the trouble: > > # GIT_CURL_VERBOSE=1 git clone http://git.stuge.se/libssh2.git Can you try cloning using git:// instead of http:// ? //Peter --

Re: libssh2 with git

2009-05-22 Thread Grigory Grubsky
On Wed, May 20, 2009 at 4:44 PM, Daniel Stenberg wrote: > Hey > > I've switched to git for my libssh2 development, kindly setup and handled > by > Peter Stuge for our pleasure. > > So you checkout from here => git://git.stuge.se/libssh2.git > And browse with gitweb here => http://git.stuge.se/

  1   2   3   4   5   6   7   8   9   10   >