paramiko banner_timeout/auth_timeout do not cover kex negotiation. Using raw socket with settimeout(8) ensures the entire SSH handshake is bounded, preventing the poll from hanging and timing out.
paramiko banner_timeout/auth_timeout do not cover kex negotiation. Using raw socket with settimeout(8) ensures the entire SSH handshake is bounded, preventing the poll from hanging and timing out.