• Post Reply Bookmark Topic Watch Topic
  • New Topic

ssh connection with java code.  RSS feed

 
Joybrata Chakraborty
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends.

I am trying to execute unix commands using Java code. Basically Java code will take the commands from the database and will execute those in the target server using ssh or similar protocols.

If any one can help on this, will be highly appreciated. I have tried plink, but not sure how it will work.

Thanks
Joy
 
Rob Spoor
Sheriff
Posts: 21131
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you already try Google? You would have found JTA and JSch, for instance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!