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> |
||
|---|---|---|
| .. | ||
| remote | ||
| archive.go | ||
| entry.go | ||
| ops.go | ||
| ops_test.go | ||
| preview.go | ||
| qa_archive_trash_test.go | ||
| scan.go | ||