File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
problem running SSH with JSP
Joined: May 23, 2007
May 23, 2007 03:42:00
I can not execute SSH command of Linux using
, 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.
[ May 23, 2007: Message edited by: Bear Bibeault ]
Joined: Jun 10, 2007
Jun 19, 2007 09:25:00
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.
Joined: Dec 11, 2004
Jun 19, 2007 09:36:00
Are you trying to issue a single SSH command
ssh 192.168.0.1 "mycommand"
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.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: problem running SSH with JSP
Ant checkout CVS using SSH
How to Get processes list from Remote Machine
remote commands for LINUX
linux ssh help
Remote File Operations
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015