This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes problem running SSH with JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problem running SSH with JSP" Watch "problem running SSH with JSP" New topic

problem running SSH with JSP

apurva mehta

Joined: May 23, 2007
Posts: 1
Hi ,All
I can not execute SSH command of Linux using JSP, I can execute all other basic commands of Linux and also can execute SSH on terminal but not using If anybody have any idea then please help me.

[ May 23, 2007: Message edited by: Bear Bibeault ]
Richard Waldicott

Joined: Jun 10, 2007
Posts: 9
are you trying to execute the process directly? not sure if there is a permissions issue for why you may not be able to do this. may wish to try an API instead.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Are you trying to issue a single SSH command

Are you using RSA keys so you don't need to go through an interactive prompt for a password?

Otherwise, I think you're asking a bit much of from a webapp.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
It is sorta covered in the JavaRanch Style Guide.
subject: problem running SSH with JSP
It's not a secret anymore!