aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Execute IOS commands from java code in Linux environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Execute IOS commands from java code in Linux environment" Watch "Execute IOS commands from java code in Linux environment" New topic
Author

Execute IOS commands from java code in Linux environment

K Minev
Greenhorn

Joined: Nov 04, 2009
Posts: 8
Hi,

I am new to this forum, but I have been getting some good answers from it.

Now I have a question:

I have an application build on java that executes simple IOS commands by calling SecureCRT client to run vb script commands.

Two questions:

1)Will my code work on linux besides the SecureCRT client
2) Is there a way I can execute ios commands from java code on linux without using a third party client?

Thanks in advance.
K Minev
Greenhorn

Joined: Nov 04, 2009
Posts: 8
Just to clarify.

I simply need to be able to do the following from a java code running on Linux box:

Runtime.getRuntime().exec(ssh -i xx.xx.xx.xx username);

Can this be accomplished via java code on linux platform?

Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Execute IOS commands from java code in Linux environment
 
Similar Threads
command execution
Execute operatingsystem commands from Java classes?
how to execute......................
Executing unix commands from java application
logging into linux machine through java