<?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 on: libssh 0.4.4</title>
	<atom:link href="http://www.libssh.org/2010/06/01/libssh-0-4-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/</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>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>
	<item>
		<title>By: gladiac</title>
		<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/comment-page-1/#comment-2111</link>
		<dc:creator>gladiac</dc:creator>
		<pubDate>Thu, 02 Sep 2010 07:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=118#comment-2111</guid>
		<description>There is a page on this website called &quot;Communication&quot; you should take a look at that page and use these channels to talk to developers.</description>
		<content:encoded><![CDATA[<p>There is a page on this website called &#8220;Communication&#8221; you should take a look at that page and use these channels to talk to developers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gladiac</title>
		<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/comment-page-1/#comment-2110</link>
		<dc:creator>gladiac</dc:creator>
		<pubDate>Thu, 02 Sep 2010 07:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=118#comment-2110</guid>
		<description>channel_read()

This is described in The Tutorial

http://api.libssh.org/master/shell.html</description>
		<content:encoded><![CDATA[<p>channel_read()</p>
<p>This is described in The Tutorial</p>
<p><a href="http://api.libssh.org/master/shell.html" rel="nofollow">http://api.libssh.org/master/shell.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xiegang</title>
		<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/comment-page-1/#comment-2109</link>
		<dc:creator>xiegang</dc:creator>
		<pubDate>Thu, 02 Sep 2010 05:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=118#comment-2109</guid>
		<description>For some reasons,I have to use &quot;channel_request_shell(channel)&quot; to execute several commonds, I can&#039;t get the prompt after executing one commond, however, I need the prompt to analyse the results.
How can I get the prompt when I use channel_request_shell?</description>
		<content:encoded><![CDATA[<p>For some reasons,I have to use &#8220;channel_request_shell(channel)&#8221; to execute several commonds, I can&#8217;t get the prompt after executing one commond, however, I need the prompt to analyse the results.<br />
How can I get the prompt when I use channel_request_shell?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gladiac</title>
		<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/comment-page-1/#comment-2102</link>
		<dc:creator>gladiac</dc:creator>
		<pubDate>Wed, 04 Aug 2010 09:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=118#comment-2102</guid>
		<description>Yes, the client side supports IPv6. The server side will support it with version 0.5.</description>
		<content:encoded><![CDATA[<p>Yes, the client side supports IPv6. The server side will support it with version 0.5.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xiegang</title>
		<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/comment-page-1/#comment-2101</link>
		<dc:creator>xiegang</dc:creator>
		<pubDate>Wed, 04 Aug 2010 06:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=118#comment-2101</guid>
		<description>Does the libssh support IPV6?</description>
		<content:encoded><![CDATA[<p>Does the libssh support IPV6?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gladiac</title>
		<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/comment-page-1/#comment-2088</link>
		<dc:creator>gladiac</dc:creator>
		<pubDate>Wed, 14 Jul 2010 07:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=118#comment-2088</guid>
		<description>Download the source code and compile it yourself. See http://dev.libssh.org/wiki/VisualStudio</description>
		<content:encoded><![CDATA[<p>Download the source code and compile it yourself. See <a href="http://dev.libssh.org/wiki/VisualStudio" rel="nofollow">http://dev.libssh.org/wiki/VisualStudio</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chengjinsong</title>
		<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/comment-page-1/#comment-2087</link>
		<dc:creator>chengjinsong</dc:creator>
		<pubDate>Wed, 14 Jul 2010 03:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=118#comment-2087</guid>
		<description>I download the src and binary of the lib for windows,but i found that
it compiled without the ssh1,how can i compile with ssh1 option</description>
		<content:encoded><![CDATA[<p>I download the src and binary of the lib for windows,but i found that<br />
it compiled without the ssh1,how can i compile with ssh1 option</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gladiac</title>
		<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/comment-page-1/#comment-2082</link>
		<dc:creator>gladiac</dc:creator>
		<pubDate>Thu, 08 Jul 2010 08:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=118#comment-2082</guid>
		<description>You can execute several commands using channel_exec like this

&lt;tt&gt;channel_request_exec(channel,&quot;cd /tmp &amp;&amp; mkdir mytest &amp;&amp; cd mytest &amp;&amp; touch
mytest&quot;);&lt;/tt&gt;

This will be executed as only one shell command.

Another solution is to use the shell command:

&lt;pre&gt;/* Do NOT put the channel into interactive mode/pty */
channel_request_shell(channel);
channel_write(channel,&quot;cd /tmp ; echo OK&quot;);
channel_read()
channel_write(channel,&quot;mkdir mytest ; echo OK&quot;);
...&lt;/pre&gt;

basicaly that&#039;s like a shell script. Do not expect being able to parse the &quot;#&quot; or &quot;$&quot; prompts, it won&#039;t work...</description>
		<content:encoded><![CDATA[<p>You can execute several commands using channel_exec like this</p>
<p><tt>channel_request_exec(channel,"cd /tmp &#038;&#038; mkdir mytest &#038;&#038; cd mytest &#038;&#038; touch<br />
mytest");</tt></p>
<p>This will be executed as only one shell command.</p>
<p>Another solution is to use the shell command:</p>
<pre>/* Do NOT put the channel into interactive mode/pty */
channel_request_shell(channel);
channel_write(channel,"cd /tmp ; echo OK");
channel_read()
channel_write(channel,"mkdir mytest ; echo OK");
...</pre>
<p>basicaly that&#8217;s like a shell script. Do not expect being able to parse the &#8220;#&#8221; or &#8220;$&#8221; prompts, it won&#8217;t work&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xiegang</title>
		<link>http://www.libssh.org/2010/06/01/libssh-0-4-4/comment-page-1/#comment-2081</link>
		<dc:creator>xiegang</dc:creator>
		<pubDate>Thu, 08 Jul 2010 02:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.libssh.org/?p=118#comment-2081</guid>
		<description>Hi, I have a problem when I develop a program with the sshlib. 
   I opened a channel and then run a shell command with the channel, but after I read all the data from the channel with the function  channel_read(), I found the channel was closed!
   If I want to send the second command, should I have to open it again? Can you give me some help?</description>
		<content:encoded><![CDATA[<p>Hi, I have a problem when I develop a program with the sshlib.<br />
   I opened a channel and then run a shell command with the channel, but after I read all the data from the channel with the function  channel_read(), I found the channel was closed!<br />
   If I want to send the second command, should I have to open it again? Can you give me some help?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

