• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem running SSH with JSP

 
apurva mehta
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic