Helpful Information
 
 
Category: Java
JSP that does ssh connection to a remote unix box

Does anyone have any idea or functional code sample where:
JSP that does ssh connection to a remote unix box and runs a shell script.

I tried using jsch classes and get Session can not be resolved to a type and jsch can not be resolved errors. I added jar file to every path I know of.

I've tried RunTime.exec successfully to my PC but seem not to get the remote UNIX connection syntax right.

Doesn't help that I'm learning by example either. Most qoogle result code examples are totally buged out.

Old MF cobol guy.

Found this one (http://www.mlug.missouri.edu/~rjudd/java/notes.html) not exactly matches but it does the SSH connection










privacy (GDPR)