Java远程执行Shell命令

1. Jar包   ganymed-ssh2-build210.jarjava 2. 步骤: a) 链接:web Connection conn = new Connection(ipAddr); conn.connect(); b)认证:算法 boolean authenticateVal = conn.authenticateWithPassword(userName, password);
相关文章
相关标签/搜索