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...
Type: Posts; User: Paris
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...
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...
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.
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...
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......
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...
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...