mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 20:11:08 +00:00
Restore unconditional 'none' auth as the first method tried. Per RFC 4252, the 'none' request is the standard way for clients to discover which auth methods the server supports. It also enables passwordless login on embedded devices (#482). This matches the behavior of OpenSSH (which always sends 'none' first) and Tabby (which unconditionally adds { type: 'none' } as the first element of allAuthMethods). Most SSH servers do not count 'none' toward MaxAuthTries per the RFC. Applied to both the main SSH authHandler and the shared buildAuthHandler used by SFTP/chain/exec connections. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>