| Summary: | ssh-keygen -R doesn't work when there are entries for "proxycommand" keys | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Hugh Davenport <hugh> |
| Component: | ssh-keygen | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED WORKSFORME | ||
| Severity: | trivial | CC: | djm, mindrot.org |
| Priority: | P5 | ||
| Version: | 6.2p1 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
Hugh Davenport
2013-08-29 06:29:31 AEST
The invalid known_hosts entries are created by older versions of the Ruby library net-ssh: https://rubygems.org/gems/net-ssh The bug is fixed in version 2.9.2 of net-ssh. This is working as intended: if the known_hosts file is messed up then ssh-keygen -R bails out instead of blundering ahead and destroying it further. We've fixed the bug in ssh that put the "<no hostip for proxy command>" entries in known_hosts to begin with a while back IIRC. Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1 |