• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Execute IOS commands from java code in Linux environment

 
K Minev
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic