Home > other >  Using Linux sharpssh connections, prompt & quot; Because the target machine actively refused, unable
Using Linux sharpssh connections, prompt & quot; Because the target machine actively refused, unable

Time:11-02

Sharpssh used to own demo can be connected to the normal Linux, but input and output in the console, I refer to the http://bbs.csdn.net/topics/340259587 here but create a connection directly thrown exception "because the target machine actively refused, unable to connect", the following code
Try
{
SshStream SshStream=new SshStream (IP, username, password);
}
The catch (Exception ex)
{
Throw new Exception (ex. Message);
}
SshStream is null, the
help me
  • Related