Commit graph

2 commits

Author SHA1 Message Date
vrubelroman
0ace9c454a refactor(ssh): write hosts.dat and known_hosts via internal/atomicfile
Drop the stop-gap internal/ssh/internal/atomicwrite now that 2C.1 is
merged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 04:01:04 +03:00
vrubelroman
94002e286f feat(ssh): add conn dialer with bounded handshake, host keys and auth chain (2B.2)
The whole handshake (TCP, kex, auth, SFTP init) runs under a deadline
that ctx cancellation cuts short, and a late client is closed (N-P1-3).
HostKeyAlgorithms come from known_hosts (N-P1-4); unknown and changed
keys go to a Prompter (N-P2-14). Auth tries identity files, then agent
keys over one shared agent connection, then default keys, password and
keyboard-interactive through the Prompter (N-P2-1, N-P2-2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:33:26 +03:00