Class SSHSessionFactory

java.lang.Object
repast.simphony.batch.ssh.SSHSessionFactory

public class SSHSessionFactory extends Object
Factory for creating SSHSession objects.
Author:
Nick Collier
  • Method Details

    • init

      public static void init(String sshKeyDir)
    • getInstance

      public static SSHSessionFactory getInstance()
    • setUserInfo

      public void setUserInfo(com.jcraft.jsch.UserInfo userInfo)
    • create

      public SSHSession create(RemoteSession remote) throws com.jcraft.jsch.JSchException
      Throws:
      com.jcraft.jsch.JSchException