In attachment is the code I've made.

I've got 2 procedures that execute 2 commands each via ssh,
The first one (linux_cpumem) executes ok, but the second one (linux_fs)
don't return anything,
I can't figure out what I'm doing wrong...

Think u could help me out?

-----Original Message-----
From: Peter Stuge [mailto:pe...@stuge.se] 
Sent: sábado, 7 de Fevereiro de 2009 1:17
To: libssh2-devel@lists.sourceforge.net
Subject: Re: [libssh2] execute remote command and get result

Maverick wrote:
> I can connect, open a channel, write the command to the channel,
> but read the output is not working :(

If you will be using a shell you may want to implement a fake
terminal in your client.

You may want to look into the exec channel type.


//Peter

----------------------------------------------------------------------------
--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Attachment: libssh2_config.h
Description: Binary data

Attachment: ssh2.cpp
Description: Binary data

Attachment: ssh2.hpp
Description: Binary data

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to