-
Notifications
You must be signed in to change notification settings - Fork 86
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
SFTP connection issue: Can't open path: Could not connect to SFTP server #609
Comments
Can you append the olv.log in home directory? Did you type before wrong username and password? Did it work after restart OtrosLogViewer? |
I think this has to do with issue #608 as well (zip format). I tried reproducing your problem using a free public SFTP server and I was able to access a readme.txt file stored in the server without any issues. |
@benlazaro Ha, my screenshot was misleading, sorry. This one doesn't have anything to do with .zip files, that's just the last thing I had up on my screen locally before I tried to connect to this SFTP server. Thanks for the test SFTP. Yes, I'm able to connect to test.rebex.net:22 without issue. Looks like the difference is the encryption algorithms each server uses. @svennissel The username and password are right. It doesn't work after restart. I started fresh and have attached the log. What stands out is: Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail test.rebex.net:22 which works uses ssh-ed25519 255 |
@svennissel maybe one "just" have to add bouncy castle crypto dependency to support "latest" cipher suits/ algorithms which are not present in the currently used jdk version? I'll try to reproduce it tomorrow. |
Doing some searching on that error, it could also be that this OtrosLogViewer uses Zlib compression and the SFTP server does not support Zlib compression. I haven't figured out how to check that yet (don't have any control over this SFTP server). |
I created a pull-request #615 With this new ssh-algorithms are supported (e.g. ssh-ed25519) @DavidAccola I'm not quite sure if this resolves your issue. I found the following in the jsch FAQ
If the server is using such signature algorithm maybe you can try starting OtrosLogViewer with the described system-properties to re-enable |
…n_fail #609 support new ssh algorithm
Thanks for the info! |
@DavidAccola: And try please this version included the fix of @nuessgens |
Are there any known issues are quirks with connecting to SFTP? I am able to connect to a server over SFTP using WinSCP without issue, but not with OtrosLogViewer when using the same credentials. (FTP works fine, just not SFTP.)
Can't open path: Could not connect to SFTP server at "xxx.xxxxxxxxxxxxxx.com"
The text was updated successfully, but these errors were encountered: