Skip to content

fix: keep idle SSH sessions alive#206

Merged
inureyes merged 1 commit into
mainfrom
fix/keepalive-idle-timeout
May 24, 2026
Merged

fix: keep idle SSH sessions alive#206
inureyes merged 1 commit into
mainfrom
fix/keepalive-idle-timeout

Conversation

@inureyes
Copy link
Copy Markdown
Member

Summary

  • Lower the default SSH keepalive interval from 60s to 30s so bssh sends traffic before common one-minute idle reapers close otherwise healthy sessions.
  • Normalize ServerAliveInterval 0 to disabled keepalive instead of creating a zero-duration russh timer.
  • Keep client-side inactivity_timeout disabled so idle interactive sessions are not closed by bssh itself.

Test Plan

  • cargo fmt
  • cargo test --test ssh_keepalive_test
  • cargo check
  • cargo clippy --all-targets -- -D warnings
  • git diff --check

@inureyes inureyes added type:bug Something isn't working priority:high High priority issue status:review Under review labels May 24, 2026
@inureyes inureyes merged commit f378276 into main May 24, 2026
2 checks passed
@inureyes inureyes deleted the fix/keepalive-idle-timeout branch May 24, 2026 11:38
@inureyes inureyes added status:done Completed and removed status:review Under review labels May 24, 2026
@inureyes inureyes self-assigned this May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high High priority issue status:done Completed type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant