public IInterruptable AsyncSSHConnect(IInterruptableConnectorClient result_client, SSHLoginParameter destination) { _sshParam = destination; InterruptableConnector swt = new SSHConnector(destination, new HostKeyVerifierBridge()); //ITCPParameter tcp = new SSHLoginParameter(destination); // (ITCPParameter)destination.GetAdapter(typeof(ITCPParameter)); swt.AsyncConnect(result_client, (ITCPParameter)destination); return(swt); }
public SSHLoginParameter(SSHLoginParameter src) : base(src) { _method = src._method; _authType = src._authType; _account = src._account; _identityFile = src._identityFile; _passwordOrPassphrase = src._passwordOrPassphrase; _letUserInputPassword = src._letUserInputPassword; _agentForward = src._agentForward; }
public SSHConnector(SSHLoginParameter destination, HostKeyVerifierBridge keycheck) { _destination = destination; _keycheck = keycheck; }