dokan-sshfs icon indicating copy to clipboard operation
dokan-sshfs copied to clipboard

Miss DiffieHellman.DLL

Open xgfone opened this issue 10 years ago • 4 comments

When compiling it, no problem. But when I ran it, it didn't work and had a exception. It said that it couldn't find the reference of DiffieHellman.DLL.

I downloaded a DiffieHellman.DLL from the Internet, but it said mismatching.

I don't know why.

PS: I've installed Dokan 0.7.4.

xgfone avatar Sep 10 '15 03:09 xgfone

Is it DokanSSHFS you try to run ? I just builded & run from a clean Win10 vs2015 and had no issue.

Can you try to add https://www.nuget.org/packages/DiffieHellman/ and test ?

Liryna avatar Sep 10 '15 06:09 Liryna

OK, the problem of this DLL has been resolved. But there was still a exception.

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 DokanSSHFS.SSHFS.SSHConnect() Postion e:\git\dokan-sshfs\DokanSSHFS\DokanOperations.cs: Line 160

The host, the port, the user, and the password are right. I can use these parameters to sign in that host through the command of ssh. I don't know why SSHFS fails to connect.

SSHFS Setting Xshell ssh

PS: My OS is Windows 7 Ultimate SP1, and my Visual Studio is VS2012 Ultimate.

xgfone avatar Sep 11 '15 01:09 xgfone

It also needs Org.Mentalis.Security. I created a pull request that contains both.

ration avatar Nov 11 '15 10:11 ration

These are requirements of Tamir.SharpSSH but are not properly listed in the Nuget repository. I contacted the author. Best, I think, for now, so type in at the Nuget package manager console:

Install-Package Org.Mentalis.Security
Install-Package DiffieHellman

kwikwag avatar Jun 29 '16 11:06 kwikwag