Looking for something that allows me to do remote calls
Mauro Souza
thoriumbr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Mon Nov 4 14:29:58 UTC 2013
I found online two ways to do this with java+ssh:
http://zerioh.tripod.com/ressources/sockets.html
http://www.jcraft.com/jsch/examples/
Take a look, people sais those examples works and are interesting...
Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.
2013/11/4 Dave Cramer <davecramer-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
> I'd like to get various pieces of information such as iptables from a
> machine remotely, using a java program.
>
> One option is to use ssh to make calls, but determining when it is done is
> problematic. IE you can wait for a certain amount of time for all of the
> output, but that just seems fraught with problems.
>
> Another option is to use NRPE or the like to make calls remotely.
>
> Is there something out there that does this already ?
>
> Dave Cramer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20131104/3a87445f/attachment.html>
More information about the Legacy
mailing list