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

SFTP connection will stall after a long idle #5073

Closed
cyberduck opened this issue Jul 29, 2010 · 4 comments
Closed

SFTP connection will stall after a long idle #5073

cyberduck opened this issue Jul 29, 2010 · 4 comments
Assignees
Labels
bug fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

689b6be created the issue

I've noticed recently (after upgrading to the latest version and also in 3.4.2 - I had been using an old old one 3.1 I think...), that if I leave an SFTP window open for a period of time (I would guess about an hour), and then I try to perform any action, Cyberduck will show the "spinner" at the bottom of the window, but nothing happens. Not even a time out.

I have the following in my ~/.ssh/config file - which used to be enough to stop this problem:

ServerAliveInterval 120
ServerAliveCountMax 10
TCPKeepAlive yes

Do newer version of CyberDuck ignore what is present in this file? I've tried version combinations of the commands in the file, and also have a file named ~/.ssh/ssh_config (which some sites suggest it should be), but to no avail.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

The timeout settings are not read from .ssh/config but can be set in the Connection Preferences. However, there must be an issue with stalled SSH connections as noted previously in #3941 and #4214.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [5073 theallan]:

Refer to OpenSSH Configuration Interoperability for a list of settings that are read from the OpenSSH configuration file.

@cyberduck
Copy link
Collaborator Author

689b6be commented

I've got a time out setting of 30 seconds (as per default), but the connection "hangs" for a lot longer than that. The "spinner" in the window will simply keep going, as far as I can tell indefinitely (certainly for 10+ minutes).

Regarding the other two bugs, it does sound very similar. Is there a way to stop the session from going stale, and thus working around these issues? It never used to be a problem, but is since I did an upgrade.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 356476b.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants