Skip to content

Commit 0834fd2

Browse files
authored
Create README.md
1 parent 48f855d commit 0834fd2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# JSCHConnectionLogger
2+
Simple program to test JSCH connection and log output to console.
3+
4+
To rum the program simply compile it with maven:
5+
6+
mvn clean build
7+
8+
This will generate a jar file, just run the test like so:
9+
10+
For Java10:
11+
java --class-path "JSchSample-1.0.jar:jsch-0.1.53.jar" com.appdynamics.tests.jschsample.JSchExampleSSHConnection <target_host> <user> <identity_file>
12+
13+
For Java8:
14+
java -classpath "JSchSample-1.0.jar:jsch-0.1.53.jar" com.appdynamics.tests.jschsample.JSchExampleSSHConnection <target_host> <user> <identity_file>
15+
16+
Important that the jsch-0.1.53.jar file must be on the same directory as the sample program is being executed.

0 commit comments

Comments
 (0)