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

SSHFS: Tamir.SharpSsh.jsch.JSchException: Algorithm negotiation fail #2

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

Comments

@bruKeba
Copy link

bruKeba commented Sep 10, 2015

I am using Dokan to connect to a Linux Debian system.
We have now upgraded to Debian 8.
Due to security reasons Debian 8 no longer allows a connection as root user by just entering a password, so I have to send an OpenSSH key.

By using this key I get the following exception in DokanSSHFS:

| 2015-09-09 17:41:39 | SSHFS: Tamir.SharpSsh.jsch.JSchException: Algorithm negotiation fail
at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)
at Tamir.SharpSsh.jsch.Session.connect()
at DokanSSHFS.SSHFS.SSHConnect()
| 2015-09-09 17:41:39 | Error: failed to connect

Tamir.SharpSsh (version 1.1.1.13) is from 2007 and is the latest version.
Is there any update or workaround available to handle this problem?

Thanks,
Juergen

@Liryna
Copy link
Member

Liryna commented Sep 10, 2015

Tamir.SharpSsh is old and should be changed, I agree with you.

https://www.nuget.org/packages/SSH.NET
Seems to be the most used ssh nuget library.

If someone have the possibility to make the change and PR, it would be very nice !

Edit: See Mahxy answer

@Maxhy
Copy link
Member

Maxhy commented Sep 10, 2015

This project was updated to build and work and should be considered as a sample.
WinSSH based on dokan is originally a fork to use SSH.NET. I don't think we should do it here.

On September 10, 2015 11:32:24 AM GMT+02:00, Liryna [email protected] wrote:

Tamir.SharpSsh is old and should be changed, I agree with you.

https://www.nuget.org/packages/SSH.NET
Seems to be the most used ssh nuget library.

If someone have the possibility to make the change and PR, it would be
very nice !


Reply to this email directly or view it on GitHub:
#2 (comment)

@shi-yan
Copy link

shi-yan commented Nov 9, 2015

I'm experiencing the same error with ubuntu. I could ssh to the ubuntu with cygwin using the same user name and password. but with sshfs, I saw this error.

I just want to test out dokan, is there a way to work around this problem? I don't have to connect to ubuntu. Mac or windows are both fine.

Thanks

@Liryna
Copy link
Member

Liryna commented Nov 10, 2015

You can use win-sshfs:
https://github.com/dimov-cz/win-sshfs

It also use dokan.

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