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

util/ssh: stop keepalive in disconnect() when existing connection is used #1430

Merged

Commits on Jun 27, 2024

  1. util/ssh: stop keepalive in disconnect() when existing connection is …

    …used
    
    SSHConnection does not open a new connection if an existing connection
    is open. It reuses the connection and starts a keepalive command (cat).
    
    On disconnect(), the keepalive command is only stopped for newly
    initiated connections, not for existing ones. Fix that by stopping the
    keepalive first, unconditionally.
    
    Signed-off-by: Bastian Krause <[email protected]>
    Bastian-Krause committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    63685d6 View commit details
    Browse the repository at this point in the history