SshExec rmdir=new SshExec (IP, the uid and PWD);
Rmdir. The Connect ();
Code execution to connect will be an error, error content is:
Tamir. SharpSsh. JSCH. JSchException: Session. Connect: System. IO, IOException: End of IO Stream Read
In Tamir. SharpSsh. JSCH. IO. GetByte (Byte [] array, Int32 begin, Int32 length)
In Tamir. SharpSsh. JSCH. Session. Read (Buffer buf)
In Tamir. SharpSsh. JSCH. UserAuth. Start (Session Session)
In Tamir. SharpSsh. JSCH. UserAuthNone. Start (Session Session)
In Tamir. SharpSsh. JSCH. Session. Connect (Int32 connectTimeout)
In Tamir. SharpSsh. JSCH. Session. Connect (Int32 connectTimeout)
In Tamir. SharpSsh. JSCH. Session. The connect ()
In Tamir. SharpSsh. SshBase. ConnectSession (Int32 tcpPort)
In Tamir. SharpSsh. SshBase. Connect (Int32 tcpPort)
In Tamir. SharpSsh. SshBase. The Connect ()
The Internet to find some posts referenced DLL less, but all my quotes, the most strange is compiled can be used before, not these days, no clue, please everyone a great god
CodePudding user response:
Get rid of it? I also met the same problem urgent urgentCodePudding user response:
Mainly SSH version does not, the client version with the server version, Tamir. SharpSsh not updated for a long time,CodePudding user response:
I use Python implementation that USES paramiko library, because I have to do the data analysis is one pace reachs the designated position, use the Python