Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miss DiffieHellman.DLL #1

Open
xgfone opened this issue Sep 10, 2015 · 4 comments
Open

Miss DiffieHellman.DLL #1

xgfone opened this issue Sep 10, 2015 · 4 comments

Comments

@xgfone
Copy link

xgfone commented Sep 10, 2015

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.

@Liryna
Copy link
Member

Liryna commented Sep 10, 2015

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 ?

@xgfone
Copy link
Author

xgfone commented Sep 11, 2015

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.

@ration
Copy link
Contributor

ration commented Nov 11, 2015

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

@kwikwag
Copy link
Contributor

kwikwag commented Jun 29, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants