File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problem running SSH with JSP" Watch "problem running SSH with JSP" New topic
Author

problem running SSH with JSP

apurva mehta
Greenhorn

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 JSP.so If anybody have any idea then please help me.

-Regards
Apurva
[ May 23, 2007: Message edited by: Bear Bibeault ]
Richard Waldicott
Greenhorn

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.

http://www.jscape.com/sshfactory/
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Are you trying to issue a single SSH command
Example:


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
 
wood burning stoves
 
subject: problem running SSH with JSP