vcom/internal/fs/remote
vrubelroman d426752b6e fix(remote): skip unparseable known_hosts lines instead of failing every connection
A single known_hosts line with a key type x/crypto/ssh does not implement
(OpenSSH 10 ssh-mldsa44-ed25519) made knownhosts.New fail and every SSH
connection abort (QA-11). Such lines are now skipped with a warning in the
log. A host recorded only with an unsupported key type is refused instead
of being re-trusted on first use.

Host key algorithms of keys already recorded for the host are offered
first (like OpenSSH), so a host known only by its ed25519 key is not
reported as changed because x/crypto prefers ECDSA. Algorithms of skipped
lines are never offered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:39:02 +03:00
..
client.go fix(remote): skip unparseable known_hosts lines instead of failing every connection 2026-10-31 23:39:02 +03:00
client_test.go fix(remote): make SSHClient safe to close concurrently; refcount shared clients 2026-10-31 23:14:53 +03:00
config.go fix: verify SSH host keys, support ssh-agent, fix remote dir walk bugs 2026-07-03 15:31:32 +00:00
harness_test.go fix(remote): never follow a symlink when deleting recursively (N-P0-3) 2026-10-31 23:07:26 +03:00
host.go fix: verify SSH host keys, support ssh-agent, fix remote dir walk bugs 2026-07-03 15:31:32 +00:00
knownhosts.go fix(remote): skip unparseable known_hosts lines instead of failing every connection 2026-10-31 23:39:02 +03:00
knownhosts_test.go fix(remote): skip unparseable known_hosts lines instead of failing every connection 2026-10-31 23:39:02 +03:00
qa_remote_test.go test(qa): independent v0.2.8 checks and regression tests 2026-10-31 23:34:19 +03:00