fix: restore SSH connection timeout to 120s for 2FA authentication #494
Reference in New Issue
Block a user
Delete Branch "fix/2fa-timeout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Root Cause
The timeout reduction in v1.10 caused
ECONNRESETerrors 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 → 120000timeout: 30000 → 120000connectionTimeout: 30000 → 120000Test plan
Fixes Termix-SSH/Support#404