fix: restore SSH connection timeout to 120s for 2FA authentication #494

Merged
ZacharyZcR merged 1 commits from fix/2fa-timeout into dev-1.10.1 2026-01-12 07:28:38 +00:00
ZacharyZcR commented 2026-01-12 05:56:07 +00:00 (Migrated from github.com)

Summary

  • Restores SSH connection timeout from 30s back to 120s (as in v1.9.0)
  • Fixes 2FA/TOTP login failures introduced in v1.10

Root Cause

The timeout reduction in v1.10 caused ECONNRESET errors during keyboard-interactive authentication. Users with 2FA enabled didn't have enough time to enter their TOTP codes before the connection timed out.

Changes

  • readyTimeout: 30000 → 120000
  • timeout: 30000 → 120000
  • connectionTimeout: 30000 → 120000

Test plan

  • Configure SSH server with 2FA/TOTP requirement
  • Verify login works with sufficient time to enter TOTP code
  • Verify normal password authentication still works

Fixes Termix-SSH/Support#404

## Summary - Restores SSH connection timeout from 30s back to 120s (as in v1.9.0) - Fixes 2FA/TOTP login failures introduced in v1.10 ## Root Cause The timeout reduction in v1.10 caused `ECONNRESET` errors during keyboard-interactive authentication. Users with 2FA enabled didn't have enough time to enter their TOTP codes before the connection timed out. ## Changes - `readyTimeout`: 30000 → 120000 - `timeout`: 30000 → 120000 - `connectionTimeout`: 30000 → 120000 ## Test plan - [ ] Configure SSH server with 2FA/TOTP requirement - [ ] Verify login works with sufficient time to enter TOTP code - [ ] Verify normal password authentication still works Fixes Termix-SSH/Support#404
Sign in to join this conversation.