Exemplo n.º 1
0
 public CtrSshClient(HostNameAndPort host, RioUpdater rioReference)
 {
     _rioReference = rioReference;
     _client       = new SshClient(host.GetHostName(), "admin", "");
     _client.ConnectionInfo.Timeout = new TimeSpan(0, 0, 0, 0, 6000);
     _client.Connect();
 }
Exemplo n.º 2
0
 public RioUpdater(HostNameAndPort host)
 {
     if (host != null)
     {
         _started = true;
         _host    = host;
     }
 }
 public CtrSshClient(HostNameAndPort host, RioUpdater rioReference)
 {
     _rioReference = rioReference;
     _client       = new SshClient(host.GetHostName(), "admin", "");
     _client.Connect();
 }