Subject: Re: using ssh2 shell

Re: using ssh2 shell

From: <bill_marr_at_hotmail.com>
Date: Tue, 8 Sep 2009 20:10:09 +0800

Hi, Peter,

   Thanks for your kindly help. I add a line feed and then all perfect.
Yes, I use the shell for interactive mode. This is just a test application.

   Thanks again!

   Best Regards!
    
             Bill.

--------------------------------------------------
From: "Peter Stuge" <peter_at_stuge.se>
Sent: Tuesday, September 08, 2009 12:12 AM
To: <libssh2-devel_at_cool.haxx.se>
Subject: Re: using ssh2 shell

> bill_marr_at_hotmail.com wrote:
>> I wrote a command to shell and then read the exe result but just
>> get the write string, why?
>
> The shell echoes back characters that it receives. Otherwise the
> command that a user types would not be visible to the user.
>
>
>> Help!
>
> Make sure you also write a line feed after the command.
>
>
> But I think you are going the wrong direction, the interactive shell
> mode is really an interface for humans, not for programs. What is it
> you want to accomplish?
>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-09-08