User Activity

  • Posted a comment on discussion Help on JSch

    I have an Windows/Java application which executes commands on a linux box. One particular command kills processes, but this intermittently fails, just does nothing, not even an exception. public static Session getSession(String ipAddressOfLinuxBox) { try { JSch jsch = new JSch(); Session session = jsch.getSession("root", ipaddress, 22); session. setPassword("blahblah"); session.setConfig("StrictHostKeyChecking"; "no"); } catch (JSchException je) {throw je;} } public static List<string> executeExecCommand(String...

View All

Personal Data

Username:
mec55
Joined:
2018-12-04 11:10:06

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB