摘要:
1。登录 1 JSch jsch = new JSch(); 2 jsch.getSession(username, host, port); 3 Session sshSession = jsch.getSession(username, host, port); 4 sshSession.setPassword(password); 5 Properties sshConfig = new Properties(); 6 sshConfig.put("StrictHos... 阅读全文