Results 1 to 2 of 2
  1. #1
    guybrush_84 is offline Member
    Join Date
    Aug 2011
    Posts
    2
    Rep Power
    0

    Default Multiple comand with shell JSCH

    Hi,
    I am using the library JSCH to connect to linux host.
    I must run more than one command. I must run a command that requrire to insert a value after.
    The commmand is ssh user@host -s netconf and the answer is Password: I must after put the password.
    Can You suggest me sone links with the use of this library with more than one command?
    Thank in advance.

  2. #2
    Hibernate's Avatar
    Hibernate is offline Senior Member
    Join Date
    Dec 2010
    Location
    Stockholm, Sweden
    Posts
    222
    Blog Entries
    9
    Rep Power
    4

    Default

    I don't understand the problem is that you're having.
    Ex animo! Hibernate
    Java, Arch Linux, C, GPL v3, Bash, Eclipse, Linux VT, GNOME 2 and many buttons on windows.

Similar Threads

  1. Reg JSCH
    By Vinod Mukundan in forum Advanced Java
    Replies: 2
    Last Post: 06-27-2011, 08:25 AM
  2. compiling with comand prompt
    By gogledgeak in forum New To Java
    Replies: 4
    Last Post: 04-14-2009, 03:28 AM
  3. JSch 0.1.38
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 04-24-2008, 06:50 PM
  4. JSch 0.1.36
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 10-30-2007, 06:05 PM
  5. JSch 0.1.33
    By levent in forum Java Software
    Replies: 0
    Last Post: 05-11-2007, 09:56 PM

Posting Permissions

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