Hi Peter,

 

I looked at the two blog sites that you mentioned.

Could you elaborate on the differences between the various POCO packages?

 

  1. You mention PocoSSH. I see an SSL version in the POCO download section (e.g. poco-1.3.1-ssl.tar.gz). Is this version required for using PocoSSH? I downloaded the POCO SSL version it but I couldn’t find any occasion to the methods that are described in the blog. For example, in the PocoSSH blog () there is a use of the method SSHSession, but I can’t find it nowhere in the code. I do see a directory NetSSL_OpenSSL.
  2. Are all the POCO packages that are listed in the download section equally mature and robust?
  3. I found the SSH package in the sandbox location. I am currently using the poco-1.3.1 version Do I have to switch to poco-1.3.1-ssl version in order to make use of the SSH package?
  4. I am concerned that pulling a package from the sandbox means an unstable version.
    1. I have read the open issues with SSH. The second example, which opens a shell at the server and executes a command, is exactly what I need. Could I be sure that for this functionality the package is robust?
    2. If maturity / robustness is an issue, I prefer to use a more robust mechanism, if such one exist. Any other mechanism will do; I can use even a less secured connection (e.g. telnet)

 

Thanks,

Avner

  



From: Peter Schojer [mailto:peter.schojer@appinf.com]
Sent: Fri 10/12/2007 12:24 AM
To: Avner MOSHKOVITZ
Cc: poco-develop@lists.sourceforge.net
Subject: Re: [poco-develop] Looking for a POCO mechanism to execute a program remotely

Avner MOSHKOVITZ wrote:
> Hi,
>

>
> I am using POCO for communication between two machines. I found
> solutions in POCO to generate socket communication (e.g. remote logging,
> socket server, dialog socket). All these are fine when the programs on
> both machines are up and running.
>

>
> But before the two programs are running, the socket programming can not
> be used. What I am missing is a way to trigger the program in one of the
> machines remotely from the other machine.
>
> I am using the FTPClientSession mechanism which connects between the
> program on the first machine and an ftp server on the second machine.
>
> I am looking for a similar mechanism that will connect with a server
> (e.g. telnet, ssh) on the second machine and will enable to execute the
> program on the second machine.
>

>
> Is there a class in Poco that will allow me to so?
You could give PocoSSH a try :-)
Info at http://appinf.com/poco/blog/?p=98

It resides in the sandbox and basically allows you to do what
you require but there are some open issues:

http://appinf.com/poco/blog/?p=101

Best regards
Peter
>

>
> Thanks,
>
> Avner
>

>
>
>

>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> poco-develop mailing list
> poco-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/poco-develop