接口 HasSshTunnel

    • 方法详细资料

      • setLocalPortForwarding

        void setLocalPortForwarding​(int localPort,
                                    String remoteHost,
                                    int remotePort)
        Setup SSH tunnel(Local Port Forwarding) (localhost:port to remoteHost:remotePort)
        参数:
        localPort -
        remoteHost -
        remotePort -
      • unsetLocalPortForwarding

        void unsetLocalPortForwarding​(int localPort)
        Remove SSH tunnel(Local Port Forwarding) from the specific local port
        参数:
        localPort -