摘要: 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... 阅读全文
posted @ 2012-12-27 10:24 一个吃货程序员 阅读(766) 评论(0) 推荐(0) 编辑