File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: problem running SSH with JSP