Package org.vngx.jsch.config

Examples of org.vngx.jsch.config.SessionConfig


    } else if( port < 0 ) {
      throw new IllegalArgumentException("SSH port cannot be less than zero: " + port);
    } else if( username == null || username.length()==0 ) {
      throw new IllegalArgumentException("SSH username cannot be null/empty: " + username);
    }
    _config = config != null ? config : new SessionConfig();
    _host = host;
    _port = port;
    _username = username;
    _versionExchange = new VersionExchange("SSH-2.0-" + JSch.VERSION);
  }
View Full Code Here

TOP

Related Classes of org.vngx.jsch.config.SessionConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.