<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.network.ssh.libssh2.devel">
    <title>gmane.network.ssh.libssh2.devel</title>
    <link>http://blog.gmane.org/gmane.network.ssh.libssh2.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5874"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5873"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5872"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5871"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5870"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5869"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5868"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5867"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5866"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5865"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5864"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5863"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5862"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5861"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5860"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5859"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5858"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5857"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5856"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5855"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5874">
    <title>Re: ANNOUNCE: libssh2 version 1.4.1</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5874</link>
    <description>&lt;pre&gt;

Thanks for your kind words. I'm glad my work gets noticed and is appreciated!

&lt;/pre&gt;</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2012-05-25T20:41:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5873">
    <title>Permissions problem with mod_sftp</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5873</link>
    <description>&lt;pre&gt;Hi Guys,
We've run into a curious problem with libssh2 (1.4.1) with users using proFTPD (1.3.4) and mod_sftp.  What is happening is when we open a remote handle for *reading* like so:

remoteHandle = libssh2_sftp_open(session, file, LIBSSH2_FXF_READ, 0);

The server wipes out the file permissions.  I.e., sets them to 000.  According to the docs, if the file exists on disk it should ignore the mode bits.  But it seems not to be the case.

We've tracked it back to the server config setting IgnoreSFTPUploadPerms, if this is set to yes, everything is fine.  This seems like an pretty obvious server-side issue; *however* it works correctly using openssh's sftp client.  

Before I continue tracking this down, do you guys have any ideas what the differences would be between openssh's sftp implementation and libssh2 which would be causing this?

Thanks,
Will



_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

&lt;/pre&gt;</description>
    <dc:creator>Will Cosgrove</dc:creator>
    <dc:date>2012-05-25T19:42:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5872">
    <title>Re: ANNOUNCE: libssh2 version 1.4.1</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5872</link>
    <description>&lt;pre&gt;Hi Daniel,
Am 25.05.2012 08:34, schrieb Daniel Stenberg:
n.p.; thanks!

Also I would like to say a *big thanks* that you always drive forward 
the projects and make constantly releases as release manager so we can 
bring fixes and new features quickly to the users; not only with libssh2 
but also curl and c-ares!
(I dislike that with other projects a year passes by without any release)

Gün.


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

&lt;/pre&gt;</description>
    <dc:creator>Guenter</dc:creator>
    <dc:date>2012-05-25T13:31:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5871">
    <title>Re: ANNOUNCE: libssh2 version 1.4.1</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5871</link>
    <description>&lt;pre&gt;

Care to suggest a patch?


I'm sure that's just a mistake that it slipped in...

&lt;/pre&gt;</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2012-05-25T07:05:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5870">
    <title>Re: ANNOUNCE: libssh2 version 1.4.1</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5870</link>
    <description>&lt;pre&gt;
indeed. I though you were managing yourself this  file (some projects
do that). Normally, config.sub/guess and similar installed files are
correctly copied when you create the configure script (running
buildconf). Btw, I would use autoreconf -f -i in buildconf.

Btw, i'm not sure at all that you should keep config.rpath in the git
repo. Normally, it's one of the installed files

Vincent Torri
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

&lt;/pre&gt;</description>
    <dc:creator>Vincent Torri</dc:creator>
    <dc:date>2012-05-25T06:53:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5869">
    <title>Re: ANNOUNCE: libssh2 version 1.4.1</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5869</link>
    <description>&lt;pre&gt;

Normally, that procedure does not forcibly update config.sub.

&lt;/pre&gt;</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2012-05-25T06:43:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5868">
    <title>Re: ANNOUNCE: libssh2 version 1.4.1</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5868</link>
    <description>&lt;pre&gt;
strange. How do you create the tarball ? Normally, if you run 'make
distcheck', you verify the build and create the archive. That's a
quite safe way to release a project using the autotools

Vincent Torri
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

&lt;/pre&gt;</description>
    <dc:creator>Vincent Torri</dc:creator>
    <dc:date>2012-05-25T06:41:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5867">
    <title>Re: ANNOUNCE: libssh2 version 1.4.1</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5867</link>
    <description>&lt;pre&gt;

Argh. Sorry. I've fixed it now locally so next release _should_ be fine.

&lt;/pre&gt;</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2012-05-25T06:34:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5866">
    <title>Re: ANNOUNCE: libssh2 version 1.4.1</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5866</link>
    <description>&lt;pre&gt;Hi Daniel,
Am 17.04.2012 23:04, schrieb Daniel Stenberg:
hmm, unfortunately you did only take care for config.guess but not for 
config.sub (2009-05-14), and so I still get with 1.4.2 release:
checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
checking libssh2 version... 1.4.2
checking build system type... x86_64-unknown-linux-gnu
checking host system type... Invalid configuration 
`arm-linux-androideabi': system `androideabi' not recognized
configure: error: /bin/sh ./config.sub arm-linux-androideabi failed

after deleting config.sub and running buildconf it installed the newer 
one from my build box and configure succeeded.

Gün.



_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

&lt;/pre&gt;</description>
    <dc:creator>Guenter</dc:creator>
    <dc:date>2012-05-25T02:39:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5865">
    <title>Re: example ssh2: failed to connect</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5865</link>
    <description>&lt;pre&gt;

connect() is called even before libssh2 is used. You probably entered the 
wrong IP address or use the wrong port number?

&lt;/pre&gt;</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2012-05-24T16:00:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5864">
    <title>example ssh2: failed to connect</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5864</link>
    <description>&lt;pre&gt;I have tried running the example ssh2. When I do I get a failed to connect
error which is triggered by the connect() method. How can I fix this? thank
you.

&lt;/pre&gt;</description>
    <dc:creator>Jamie Lahowetz</dc:creator>
    <dc:date>2012-05-24T15:46:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5863">
    <title>Invitation to connect on LinkedIn</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5863</link>
    <description>&lt;pre&gt;LinkedIn
------------



I'd like to add you to my professional network on LinkedIn.

- Thabelo

Thabelo Mmbengeni
zapop web developer at zapop
Cape Town Area, South Africa

Confirm that you know Thabelo Mmbengeni:
https://www.linkedin.com/e/-xsrtcs-h2ljyr0e-2h/isd/7222060233/Gt85iP45/?hs=false&amp;amp;tok=3WC0BYi1tReRg1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/-xsrtcs-h2ljyr0e-2h/w59Vklj28IgCxIYX6PUXddnnqwX24d6uFSCG82WU/goo/libssh2-devel%40cool%2Ehaxx%2Ese/20061/I2459270622_1/?hs=false&amp;amp;tok=2sC2tOO55ReRg1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
&lt;/pre&gt;</description>
    <dc:creator>Thabelo Mmbengeni</dc:creator>
    <dc:date>2012-05-24T08:21:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5862">
    <title>Re: bad client public DH value</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5862</link>
    <description>&lt;pre&gt;
If so, please send a patch! Thanks. :)


//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

&lt;/pre&gt;</description>
    <dc:creator>Peter Stuge</dc:creator>
    <dc:date>2012-05-24T08:15:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5861">
    <title>Re: bad client public DH value</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5861</link>
    <description>&lt;pre&gt;

Is that a subtle way of saying you have made a bug fix?

&lt;/pre&gt;</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2012-05-24T07:21:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5860">
    <title>Error Receiving a File  SCP</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5860</link>
    <description>&lt;pre&gt;I am able to connect     But Unable to receive a File
Using the same code as   example/scp.c   (tried even the scp_nonblock.c)

Trace taken  from  the working  example/scp.c

Read B  lines come from  my trace additions to   transport.c       _libssh2_transport_read    Function

Read B 2  just before   if (session-&amp;gt;state &amp;amp; LIBSSH2_STATE_NEWKEYS) {
Read B 3  just after   remainbuf = p-&amp;gt;writeidx - p-&amp;gt;readied;   prints  writeidx  and readidx   values
Read B 3 just before   if (remainbuf &amp;lt; blocksize) {            prints  remainbuf and blocksize values
Read B 3 A inside       if (remainbuf &amp;lt; blocksize) {            prints  remainbuf value
Read B 3 B  just before  nread = LIBSSH2_RECV(session, &amp;amp;p-&amp;gt;buf[remainbuf], PACKETBUFSIZE - remainbuf,  ...
Read B 3 C  right after the    nread = LIBSSH2_RECV(session, 

=====  ….   ====  sections  appear during scp.c  execution which works
but NOT during my execution

Code STOPS in the LIBSSH2_RECV  function  

Any Help Please !  !

Thanks in advance

::  [libssh2] 0.919596 Transport: Packet type 91 received, length=17
::  [libssh2] 0.919603 Transport: Looking for packet of type: 91
::  [libssh2] 0.919608 Conn: Connection Established - ID: 0/0 win: 0/262144 pack: 140381006102528/4295000064
::  [libssh2] 0.919622 Conn: starting request(exec) on channel 0/0, message=scp -pf 'code.xml'
::  [libssh2] 0.919658 Socket: Sent 84/84 bytes at 0x7fadb9005658
::  [libssh2] 0.919711 Transport: Looking for packet of type: 99
::  [libssh2] 0.919719 Transport: Looking for packet of type: 100
Read B     
Read B   1   
Read B   2   
Read B  3   52   52  
Read B  3   (0)   (16)   
Read B  3   A      (0)   
Read B  3   B        

====================================================================
THIS INDENTED BLOCK DOES NOT APPEAR  DURING      MY        CODE EXECUTION
              Read B  3   C      (-35)   
              ::  [libssh2] 0.919747 Failure Event: -37 - Would block requesting SCP startup
              ::  [libssh2] 0.925962 Transport: Looking for packet of type: 99
              ::  [libssh2] 0.925990 Transport: Looking for packet of type: 100
              Read B     
              Read B   1   
              Read B   2   
              Read B  3   0   0  
              Read B  3   (0)   (16)   
              Read B  3   A      (0)   
              Read B  3   B        
====================================================================

Read B  3   C      (88)   
::  [libssh2] 0.926056 Socket: Recved 88/16384 bytes to 0x7fadb9001618+0
Read B  4          (88)   
Read B  5   (36)    (72)  
Read B  6             
Read B  6   A         
Read B  6   B    
Read B  7      (16)   
Read B  8    (20)   
Read B  9          (0)    (47)   (47)    
::  [libssh2] 0.926135 Transport: Packet type 93 received, length=9
::  [libssh2] 0.926148 Conn: Window adjust for channel 0/0, adding 2097152 bytes, new window_size=2097152
Read B     
Read B   1   
Read B   2   
Read B  3   88   52  
Read B  3   (36)   (16)   
Read B  4          (36)   
Read B  5   (20)    (20)  
Read B  6             
Read B  6   A         
Read B  6   B    
Read B  7      (0)   
Read B  8    (20)   
Read B  9          (0)    (31)   (31)    
::  [libssh2] 0.926243 Transport: Packet type 99 received, length=5
::  [libssh2] 0.926256 Transport: Looking for packet of type: 99
::  [libssh2] 0.926267 SCP: Sending initial wakeup
write     1  
::  [libssh2] 0.926298 Conn: Writing 1 bytes on channel 0/0, stream #0
write     2  
write     3  
write     4  Read B     
Read B   1   
Read B   2   
Read B  3   88   88  
Read B  3   (0)   (16)   



====================================================================
THIS INDENTED BLOCK DOES NOT APPEAR  DURING      MY        CODE EXECUTION
              Read B  3   A      (0)   
              Read B  3   B      
              Read B  3   C      (-35)   
              ::  [libssh2] 0.926377 Conn: Sending 1 bytes on channel 0/0, stream_id=0
              ::  [libssh2] 0.926444 Socket: Sent 52/52 bytes at 0x7fadb9005658
              ::  [libssh2] 0.926460 Conn: channel_read() wants 1 bytes from channel 0/0 stream #0
              Read B     
              Read B   1   
              Read B   2   
              Read B  3   0   0  
              Read B  3   (0)   (16)   
              Read B  3   A      (0)   
              Read B  3   B        
              Read B  3   C      (-35)   
              ::  [libssh2] 0.926519 Failure Event: -37 - would block
              ::  [libssh2] 0.926528 Failure Event: -37 - Would block waiting for SCP response
              ::  [libssh2] 0.927204 Conn: channel_read() wants 1 bytes from channel 0/0 stream #0
              Read B     
              Read B   1   
              Read B   2   
              Read B  3   0   0  
              Read B  3   (0)   (16)   
              Read B  3   A      (0)   
              Read B  3   B        
              Read B  3   C      (452)   
              ::  [libssh2] 0.927288 Socket: Recved 452/16384 bytes to 0x7fadb9001618+0
====================================================================

Read B  4          (452)   
Read B  5   (436)    (436)  
Read B  6             
Read B  6   A         
Read B  6   B    
Read B  7      (416)   
Read B  8    (20)   
Read B  9          (0)    (447)   (447)    
::  [libssh2] 0.927389 Transport: Packet type 95 received, length=415
PACKET    Extended  Data  
PACKET    Data  Channel   
::  [libssh2] 0.927410 Conn: 402 bytes packet_add() for 0/0/1
Read B     
Read B   1   
Read B   2   
Read B  3   452   452  
Read B  3   (0)   (16)   
Read B  3   A      (0)   
Read B  3   B        
 
&amp;lt;=====  STOPS Here  Just waits  Thus is Hung Up in the   LIBSSH2_RECV   function ?

              Read B  3   C      (-35)   
              ::  [libssh2] 0.927694 Failure Event: -37 - would block
              ::  [libssh2] 0.927705 Failure Event: -37 - Would block waiting for SCP response
              ::  [libssh2] 0.931757 Conn: channel_read() wants 1 bytes from channel 0/0 stream #0
              Read B     
              Read B   1   
              Read B   2   
              Read B  3   0   0  
              Read B  3   (0)   (16)   
              Read B  3   A      (0)   
              Read B  3   B        
              Read B  3   C      (68)   
              ::  [libssh2] 0.931842 Socket: Recved 68/16384 bytes to 0x7fadb9001618+0
              Read B  4          (68)   
              ……
              …….



Thanks in advance_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
&lt;/pre&gt;</description>
    <dc:creator>Barry Fawthrop</dc:creator>
    <dc:date>2012-05-23T12:09:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5859">
    <title>Re: bad client public DH value</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5859</link>
    <description>&lt;pre&gt;Solve it
session_ex
Needed  a RAND_seed()



On May 22, 2012, at 1:48 PM, Barry Fawthrop wrote:


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
&lt;/pre&gt;</description>
    <dc:creator>Barry Fawthrop</dc:creator>
    <dc:date>2012-05-23T11:48:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5858">
    <title>Re: Example suggestion - ssh2_exec.c</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5858</link>
    <description>&lt;pre&gt;OK, Peter, I've sent it.

Thanks.
Paulo Caetano

On Wed, May 23, 2012 at 10:17 AM, Peter Stuge &amp;lt;peter-Y+HMSxxDrH8&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

&lt;/pre&gt;</description>
    <dc:creator>Paulo Caetano</dc:creator>
    <dc:date>2012-05-23T11:44:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5857">
    <title>[PATCH] Corrected error checking on socket creation</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5857</link>
    <description>&lt;pre&gt;From dd644ca2526e8e5cf64121f53664d2804600b325 Mon Sep 17 00:00:00 2001
From: Paulo Caetano &amp;lt;paulo.a.o.caetano-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
Date: Wed, 23 May 2012 12:03:19 +0100
Subject: [PATCH] Corrected error checking on socket creation

---
 ssh2_multiexec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ssh2_multiexec.c b/ssh2_multiexec.c
index 18fe79b..5bc341f 100644
--- a/ssh2_multiexec.c
+++ b/ssh2_multiexec.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -218,7 +218,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int main(int argc, char *argv[])
      */
     sock = socket(AF_INET, SOCK_STREAM, 0);
 
-if (socket == -1)
+if (sock == -1)
 perror("Create socket");

     sin.sin_family = AF_INET;
&lt;/pre&gt;</description>
    <dc:creator>Paulo Caetano</dc:creator>
    <dc:date>2012-05-23T11:43:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5856">
    <title>Re: Example suggestion - ssh2_exec.c</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5856</link>
    <description>&lt;pre&gt;Hi Paulo,

Paulo Caetano wrote:

Please create a git commit and send the patch created by the command
git format-patch, or possibly let git send the email directly using
git send-email.


//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

&lt;/pre&gt;</description>
    <dc:creator>Peter Stuge</dc:creator>
    <dc:date>2012-05-23T09:17:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5855">
    <title>Re: Example suggestion - ssh2_exec.c</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5855</link>
    <description>&lt;pre&gt;Hallo.

I've noticed an error in the code I've sent, In line 221, where I've
added a check for the socket creation.

Where I had this:
if (socket == -1)
perror("Create socket");

I should have this:
if (sock == -1)
perror("Create socket");

I attached a corrected version.

Thanks.
Paulo Caetano

On Thu, May 17, 2012 at 4:31 PM, Paulo Caetano
&amp;lt;paulo.a.o.caetano-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
&lt;/pre&gt;</description>
    <dc:creator>Paulo Caetano</dc:creator>
    <dc:date>2012-05-23T07:24:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5854">
    <title>bad client public DH value</title>
    <link>http://permalink.gmane.org/gmane.network.ssh.libssh2.devel/5854</link>
    <description>&lt;pre&gt;Hi All

Trying to create an SSH client  using the LibSSH2-1.4.1  code
I'm getting a failure

The Server has
============
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes256-cbc,aes192-cbc,aes128-cbc,rijndael-cbc-SamgB31n2u5IcsJQ0EH25Q&amp;lt; at &amp;gt;public.gmane.org,arcfour128,arcfour,blowfish-cbc,cast128-cbc,3des-cbc,aes256-ctr,aes192-ctr,aes128-ctr
debug2: kex_parse_kexinit: aes256-cbc,aes192-cbc,aes128-cbc,rijndael-cbc-SamgB31n2u5IcsJQ0EH25Q&amp;lt; at &amp;gt;public.gmane.org,arcfour128,arcfour,blowfish-cbc,cast128-cbc,3des-cbc,aes256-ctr,aes192-ctr,aes128-ctr
debug2: kex_parse_kexinit: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160&amp;lt; at &amp;gt;openssh.com
debug2: kex_parse_kexinit: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160&amp;lt; at &amp;gt;openssh.com
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: mac_setup: found hmac-sha1
debug1: kex: client-&amp;gt;server aes256-cbc hmac-sha1 none
debug2: mac_setup: found hmac-sha1
debug1: kex: server-&amp;gt;client aes256-cbc hmac-sha1 none
debug2: dh_gen_key: priv key bits set: 269/512
debug2: bits set: 1047/2048
debug1: expecting SSH2_MSG_KEXDH_INIT
invalid public DH value: &amp;lt;= 1
Disconnecting: bad client public DH value



The Client Side has
================
::   [libssh2] 0.410000 Key Ex: Initiating Diffie-Hellman Group14 Key Exchange
::   [libssh2] 0.410000 Key Ex: Sending KEX packet 30
::   [libssh2] 0.410000 Socket: Sent 16/16 bytes at 0x61eef18
::   [libssh2] 0.410000 Transport: Looking for packet of type: 31
::   [libssh2] 0.434000 Socket: Recved 48/16384 bytes to 0x61eaef0+0
::   [libssh2] 0.434000 Transport: Packet type 1 received, length=39
::   [libssh2] 0.434000 Transport: Disconnect(2): (null)((null))
::   [libssh2] 0.434000 Failure Event: -13 - socket disconnect
::   [libssh2] 0.434000 Failure Event: -9 - Timed out waiting for KEX reply
::   [libssh2] 0.434000 Failure Event: -8 - Unrecoverable error exchanging keys
::   [libssh2] 0.434000 Failure Event: -8 - Unable to exchange encryption keys


Any Help ! !
What could be causing the problem ?   


Thanks in advance

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
&lt;/pre&gt;</description>
    <dc:creator>Barry Fawthrop</dc:creator>
    <dc:date>2012-05-22T17:48:35</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.network.ssh.libssh2.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.network.ssh.libssh2.devel</link>
  </textinput>
</rdf:RDF>

