Search:

Type: Posts; User: Paris

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    1,941

    Re: SSH session with server

    Hi Norm and All,

    After having some tests, I removed ";" from the code of send method below and put a \n, since the box I was trying to communicate could not "understand" this character as carriage...
  2. Replies
    11
    Views
    1,941

    Re: SSH session with server

    Hi Norm,

    The code is by James Carr. See link below

    SSH Over Java | James Carr

    There is some documentation and there are also other options, with different implementations. I will try them...
  3. Replies
    11
    Views
    1,941

    Re: SSH session with server

    Hi Norm and All,

    The final code that I run is the following one.



    I tried to test it with the following Test.java script.
  4. Replies
    11
    Views
    1,941

    Re: SSH session with server

    Hi Norm!

    Ooups!!! This is the definition of a very silly mistake...

    SshClient.java is the name of the program!!!!!!! And I simply copied this in the code!!! Really silly!!! But ok, I am still...
  5. Replies
    11
    Views
    1,941

    Re: SSH session with server

    Hi Norm,

    Thanks a lot for your reply! I haven't looked at this code yet since I am lost in my own code!!! I am trying to create my own class for the session. So I will deal with this later on......
  6. Replies
    11
    Views
    1,941

    Re: SSH session with server

    Hi Norm!

    Thanks for your reply! I do not know exactly the purpose of the line.
    As I noticed the code is not mine and I am trying to see this example in order to understand how JSch library is...
  7. Replies
    11
    Views
    1,941

    SSH session with server

    Hi all!

    I am a beginner at Java, just signed in the forum.
    I am currently trying to setup an ssh session with a server. I found that I can use JSch package for this reason. So I have imorted...
Results 1 to 7 of 7