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 losing connection while idle #7922

Closed
cyberduck opened this issue Apr 30, 2014 · 5 comments
Closed

SFTP losing connection while idle #7922

cyberduck opened this issue Apr 30, 2014 · 5 comments
Assignees
Labels
bug fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

e1b24b4 created the issue

If I stay some time without using Cyberduck, the connection seems to be closed in the server side, but cyberduck doesn't know about that. Then, when I try to save an open file, cyberduck try to save it, but as the server doesn't respond, it keep there without save.

Is there any mechanism, like a ping, to maintain the connection alive? (Or this can be added)

I also use WinSCP and it seems to keep the connection alive - I don't have the same problems there...

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 94fb76a.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#7948 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

You can workaround this issue by letting the SSH server send ignore packets for idle connections. In OpenSSH the configuration in /etc/ssh/sshd_config is ClientAliveInterval 15.

@cyberduck
Copy link
Collaborator Author

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 8222d05.

@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