<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for libssh</title>
	<atom:link href="http://www.libssh.org/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.libssh.org</link>
	<description>The SSH Library!</description>
	<lastBuildDate>Mon, 06 Jun 2011 17:01:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on How to contribute to libssh by gladiac</title>
		<link>http://www.libssh.org/2010/12/30/how-to-contribute-to-libssh/comment-page-1/#comment-2258</link>
		<dc:creator>gladiac</dc:creator>
		<pubDate>Mon, 06 Jun 2011 17:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=197#comment-2258</guid>
		<description>I think I&#039;ve fixed the issues. You know that cmake is available for AIX?</description>
		<content:encoded><![CDATA[<p>I think I&#8217;ve fixed the issues. You know that cmake is available for AIX?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to contribute to libssh by gladiac</title>
		<link>http://www.libssh.org/2010/12/30/how-to-contribute-to-libssh/comment-page-1/#comment-2257</link>
		<dc:creator>gladiac</dc:creator>
		<pubDate>Mon, 06 Jun 2011 16:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=197#comment-2257</guid>
		<description>Hi Mike,

We appreciate your help, but could you please use our bugtracker or send a mail to the mailing list?</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>We appreciate your help, but could you please use our bugtracker or send a mail to the mailing list?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to contribute to libssh by Michael Wilder</title>
		<link>http://www.libssh.org/2010/12/30/how-to-contribute-to-libssh/comment-page-1/#comment-2256</link>
		<dc:creator>Michael Wilder</dc:creator>
		<pubDate>Mon, 06 Jun 2011 16:18:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=197#comment-2256</guid>
		<description>I had to build libssh for various Unix platforms including AIX (6.1) which was the most problematic. I encountered the same problem as Pierre-Yves Fontaniere in his libssh mail archive posting (Authentication problem, Fri, 04 Mar 2011 07:51:30 -0800). I too found that the default behavior of malloc() in AIX (in crypts.c) is to error out if a size of 0 is passed in whereas Linux allows you to do that. I also fixed the problem with the &quot;_LINUX_SOURCE_COMPAT&quot; macro.

There are a couple of other idiosyncrasies of AIX as noted on the diff&#039;s below. The ntohl1 function is already defined in AIX and I had to comment that out in misc.c. Socket length needs to be defined as socklen_t instead of unsigned int for AIX also (and other unix platforms as well). Lastly, I changed the hard coded malloc size in string.c to use a sizeof(uint32_t) to make it consistent with the header file and more portable.

I could not get cmake to work properly on AIX. I ended up creating my own make file and building the library (both dynamic and static versions) from scratch using the home brew makefile.


diff connect.c connect.c.org
163,164c163
&lt;   //unsigned int len = sizeof(rc);
   unsigned int len = sizeof(rc);


bash-3.00# diff misc.c misc.c.org
291,302c291,302
&lt; // uint64_t ntohll(uint64_t a) {
&lt; // #ifdef WORDS_BIGENDIAN
&lt; //   return a;
&lt; // #else
&lt; //   uint32_t low = (uint32_t)(a &amp; 0xffffffff);
&gt; 32);
&lt; //   low = ntohl(low);
&lt; //   high = ntohl(high);
&lt; // 
&lt; //   return ((((uint64_t) low) &lt;&lt; 32) &#124; ( high));
&lt; // #endif
 uint64_t ntohll(uint64_t a) {
&gt; #ifdef WORDS_BIGENDIAN
&gt;   return a;
&gt; #else
&gt;   uint32_t low = (uint32_t)(a &amp; 0xffffffff);
&gt;   uint32_t high = (uint32_t)(a &gt;&gt; 32);
&gt;   low = ntohl(low);
&gt;   high = ntohl(high);
&gt; 
&gt;   return ((((uint64_t) low) &lt; #endif
&gt; }


bash-3.00# diff string.c string.c.org
98,99c98
&lt;   /* ptr = malloc(4 + len); */
   ptr = malloc(4 + len);

Regards,

Mike Wilder
Cimcor, Inc.</description>
		<content:encoded><![CDATA[<p>I had to build libssh for various Unix platforms including AIX (6.1) which was the most problematic. I encountered the same problem as Pierre-Yves Fontaniere in his libssh mail archive posting (Authentication problem, Fri, 04 Mar 2011 07:51:30 -0800). I too found that the default behavior of malloc() in AIX (in crypts.c) is to error out if a size of 0 is passed in whereas Linux allows you to do that. I also fixed the problem with the &#8220;_LINUX_SOURCE_COMPAT&#8221; macro.</p>
<p>There are a couple of other idiosyncrasies of AIX as noted on the diff&#8217;s below. The ntohl1 function is already defined in AIX and I had to comment that out in misc.c. Socket length needs to be defined as socklen_t instead of unsigned int for AIX also (and other unix platforms as well). Lastly, I changed the hard coded malloc size in string.c to use a sizeof(uint32_t) to make it consistent with the header file and more portable.</p>
<p>I could not get cmake to work properly on AIX. I ended up creating my own make file and building the library (both dynamic and static versions) from scratch using the home brew makefile.</p>
<p>diff connect.c connect.c.org<br />
163,164c163<br />
&lt;   //unsigned int len = sizeof(rc);<br />
   unsigned int len = sizeof(rc);</p>
<p>bash-3.00# diff misc.c misc.c.org<br />
291,302c291,302<br />
&lt; // uint64_t ntohll(uint64_t a) {<br />
&lt; // #ifdef WORDS_BIGENDIAN<br />
&lt; //   return a;<br />
&lt; // #else<br />
&lt; //   uint32_t low = (uint32_t)(a &amp; 0xffffffff);<br />
&gt; 32);<br />
&lt; //   low = ntohl(low);<br />
&lt; //   high = ntohl(high);<br />
&lt; //<br />
&lt; //   return ((((uint64_t) low) &lt;&lt; 32) | ( high));<br />
&lt; // #endif<br />
 uint64_t ntohll(uint64_t a) {<br />
&gt; #ifdef WORDS_BIGENDIAN<br />
&gt;   return a;<br />
&gt; #else<br />
&gt;   uint32_t low = (uint32_t)(a &amp; 0xffffffff);<br />
&gt;   uint32_t high = (uint32_t)(a &gt;&gt; 32);<br />
&gt;   low = ntohl(low);<br />
&gt;   high = ntohl(high);<br />
&gt;<br />
&gt;   return ((((uint64_t) low) &lt; #endif<br />
&gt; }</p>
<p>bash-3.00# diff string.c string.c.org<br />
98,99c98<br />
&lt;   /* ptr = malloc(4 + len); */<br />
   ptr = malloc(4 + len);</p>
<p>Regards,</p>
<p>Mike Wilder<br />
Cimcor, Inc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on libssh 0.5.0 by Релиз библиотеки libssh 0.5.0&#160;&#124;&#160;AllUNIX.ru &#8211; Всероссийский портал о UNIX-системах</title>
		<link>http://www.libssh.org/2011/06/01/libssh-0-5-0/comment-page-1/#comment-2251</link>
		<dc:creator>Релиз библиотеки libssh 0.5.0&#160;&#124;&#160;AllUNIX.ru &#8211; Всероссийский портал о UNIX-системах</dc:creator>
		<pubDate>Sat, 04 Jun 2011 20:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=233#comment-2251</guid>
		<description>[...] Вышел релиз библиотеки libssh 0.5, предназначенной для интеграции поддержки SSH в программы на языке Си. Библиотека позволяет выполнять программы на удаленном сервере, копировать файлы через защищенное соединение, при этом поддерживается как механизм scp, так и sftp, который реализована без задействования внешних библиотек, таких как libcrypto (из OpenSSL) или libgcrypt. Исходные тексты библиотеки распространяются под лицензией LGPL. Из программ, использующих libssh можно отметить утилиту для двухсторонней синхронизации файлов csync. [...]</description>
		<content:encoded><![CDATA[<p>[...] Вышел релиз библиотеки libssh 0.5, предназначенной для интеграции поддержки SSH в программы на языке Си. Библиотека позволяет выполнять программы на удаленном сервере, копировать файлы через защищенное соединение, при этом поддерживается как механизм scp, так и sftp, который реализована без задействования внешних библиотек, таких как libcrypto (из OpenSSL) или libgcrypt. Исходные тексты библиотеки распространяются под лицензией LGPL. Из программ, использующих libssh можно отметить утилиту для двухсторонней синхронизации файлов csync. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bug Tracker by gladiac</title>
		<link>http://www.libssh.org/2010/12/27/bug-tracker/comment-page-1/#comment-2144</link>
		<dc:creator>gladiac</dc:creator>
		<pubDate>Mon, 18 Apr 2011 13:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=178#comment-2144</guid>
		<description>This is not the Bugtracker. Please got to http://red.libssh.org/</description>
		<content:encoded><![CDATA[<p>This is not the Bugtracker. Please got to <a href="http://red.libssh.org/" rel="nofollow">http://red.libssh.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bug Tracker by Matt</title>
		<link>http://www.libssh.org/2010/12/27/bug-tracker/comment-page-1/#comment-2142</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sat, 16 Apr 2011 20:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=178#comment-2142</guid>
		<description>ssh_channel_select does not seem to time out properly.  The return value for the select call in the ssh_channel_select function is -1 on error, 0 on timeout, or the number of waiting fd&#039;s on success (at least on Linux).  But in the ssh_channel_select function, the return value (rc) is checked against EINTR.  errno should be checked for EINTR.  In the event of a timeout, the ssh_channel_select function seems to go into a polling mode. 
     Can you suggest a workaround?</description>
		<content:encoded><![CDATA[<p>ssh_channel_select does not seem to time out properly.  The return value for the select call in the ssh_channel_select function is -1 on error, 0 on timeout, or the number of waiting fd&#8217;s on success (at least on Linux).  But in the ssh_channel_select function, the return value (rc) is checked against EINTR.  errno should be checked for EINTR.  In the event of a timeout, the ssh_channel_select function seems to go into a polling mode.<br />
     Can you suggest a workaround?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bug Tracker by gladiac</title>
		<link>http://www.libssh.org/2010/12/27/bug-tracker/comment-page-1/#comment-2140</link>
		<dc:creator>gladiac</dc:creator>
		<pubDate>Fri, 08 Apr 2011 08:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=178#comment-2140</guid>
		<description>You try do download from where?</description>
		<content:encoded><![CDATA[<p>You try do download from where?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bug Tracker by robert Preton</title>
		<link>http://www.libssh.org/2010/12/27/bug-tracker/comment-page-1/#comment-2139</link>
		<dc:creator>robert Preton</dc:creator>
		<pubDate>Fri, 08 Apr 2011 00:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=178#comment-2139</guid>
		<description>I get Permissions error when I try to download the win32 binaries. Can you help with that</description>
		<content:encoded><![CDATA[<p>I get Permissions error when I try to download the win32 binaries. Can you help with that</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on libssh at FOSDEM 2011 by Tweets that mention libssh at FOSDEM 2011 at libssh - The SSH Library! -- Topsy.com</title>
		<link>http://www.libssh.org/2011/01/29/libssh-at-fosdem-2011/comment-page-1/#comment-2134</link>
		<dc:creator>Tweets that mention libssh at FOSDEM 2011 at libssh - The SSH Library! -- Topsy.com</dc:creator>
		<pubDate>Tue, 01 Feb 2011 13:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=217#comment-2134</guid>
		<description>[...] This post was mentioned on Twitter by cryptomilk, Aris Adamantiadis. Aris Adamantiadis said: #li #libssh at #fosdem : http://www.libssh.org/2011/01/29/libssh-at-fosdem-2011/ [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by cryptomilk, Aris Adamantiadis. Aris Adamantiadis said: #li #libssh at #fosdem : <a href="http://www.libssh.org/2011/01/29/libssh-at-fosdem-2011/" rel="nofollow">http://www.libssh.org/2011/01/29/libssh-at-fosdem-2011/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on libssh 0.4.4 by Nikhil</title>
		<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/comment-page-1/#comment-2131</link>
		<dc:creator>Nikhil</dc:creator>
		<pubDate>Wed, 12 Jan 2011 06:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=118#comment-2131</guid>
		<description>Hi,

I am using libssh to run mkdir on remote machine. In case mkdir fails, I want to receive/get error in my client so i can take measures. I am getting OK as return code in all cases and don&#039;t get to know if mkdir successfully ran or not. Please Suggest.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using libssh to run mkdir on remote machine. In case mkdir fails, I want to receive/get error in my client so i can take measures. I am getting OK as return code in all cases and don&#8217;t get to know if mkdir successfully ran or not. Please Suggest.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

