Class SshProxy

    • Field Detail

      • sshServer

        protected org.apache.sshd.server.SshServer sshServer
      • sshClient

        protected org.apache.sshd.client.SshClient sshClient
    • Method Detail

      • getRunningInstance

        @Nullable
        public static @Nullable SshProxy getRunningInstance()
      • start

        @Nullable
        public @Nullable SshProxy start()
      • start

        @Nullable
        public @Nullable SshProxy start​(org.apache.sshd.common.channel.ChannelFactory factory)
      • stop

        public void stop()
      • remove

        public void remove​(String proxyUserName)
      • createCommandFactory

        protected org.apache.sshd.server.command.CommandFactory createCommandFactory()
      • getHost

        public String getHost()
      • getPort

        public int getPort()
      • getClientInitializationException

        public Exception getClientInitializationException()