A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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
remote commands for LINUX
Remote File Operations
Ant checkout CVS using SSH
How to Get processes list from Remote Machine
linux ssh help
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014