Results 1 to 2 of 2

Thread: JSP that does ssh connection to a remote unix box

  1. #1
    Join Date
    Oct 2006
    Location
    Neb.
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry 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.

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Found this one not exactly matches but it does the SSH connection

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •