-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
v3.10 breaks SSH connections #4081
Comments
Any news on this? Trying to hold off on Google updates since this breaks a primary use case. Thanks! |
Short answer: #4101 to the fix. Longer answer: #4101 seems fix the problem, but this is to revert the change we did before to make other things work. Still running the regressions when I'm free, but not very satisfying. So I think for the time being the best workaround would be refrain from using SSH connections with default path to open, i.e. just browse from the root. Even longer answer: deep down the classes, the culprit was the way lookup the connection parameters and connection instance from the connection pool, when the connection string in database has default path to open included, e.g.
When the user opens I'm seeing some refactoring required to accommodate this, like separating the base URI and default path, so code can always lookup the connection using Otherwise, as a band-it solution, we deduct the path elements one by one, and try to match the connection string with database and connection pool until there is one; but this is inefficient and IMO not a good approach. On the other hand, we may just drop the connection pool and use singletons to store the SSH/FTP connections instead. We have only 2 tabs, and perhaps 90% usecases we are copying files between device and remote server, but not between remote servers, so this might work as well. But this is refactoring equally expensive as the above "split URI to base path and default path" method. |
Thank you! The default path info is helpful as that allows me to upgrade, too. |
Note: I have 2 connections to two different servers running the same version of OpenSSH and using the exact same config with no default path. One works, one doesnt. If I can provide any debug info, let me know. |
I have also learned in trying to work around problem 1 that I cannot create a connection without a password and just a private key. The create button is grayed out. |
Describe the bug
When using SSH connections, either the system can't validate the host key, or the second folder deep shows no files.
To Reproduce
Problem 1:
Steps to reproduce the behavior:
Problem 2:
Expected behavior
Functional SSH with existing connections after upgrade
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: