Unreachable hosts are detected via a 3s socket connect on SSH_PORT
before any credentials are sent. Truly offline switches now fail
fast without touching RADIUS/AD at all.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Serialised logins now sleep `login_delay` seconds between each SSH
auth to prevent AD/LDAP lockout. Both max sessions (1-10) and login
delay (0-15s) are configurable via UI sliders in the header and
passed as JSON to all scan endpoints.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Only one SSH handshake/auth runs at a time via a module-level semaphore
to avoid RADIUS lockout. Up to 5 sessions can remain open concurrently
(down from 10) while commands run in parallel after login.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>