Skip to content

A SSH Library that encapsulate jsch for simple commands usage

Notifications You must be signed in to change notification settings

Host32/java-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java-SSH

A SSH Library that encapsulate jsch for simple commands usage.

Sample

SSHUserInfo userInfo = new SSHUserInfo("user","password");
SSHService ssh = new SSHService(userInfo, "192.168.0.100");


ssh.connect();

ssh.exec("cd ~/logs/");
String tailLog = ssh.exec("tail service.log");

ssh.close();

About

A SSH Library that encapsulate jsch for simple commands usage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages