Closed axos88 closed 7 years ago
Generated ssh_known_hosts was not working for hosts on the default port. (Maybe syntax for specifying port is broken?)
Before merging, please verify that removing the port specification does not add the key as accepted for all ports, which may be undesirable.
Obvious fix.
It looks like the syntax introduced in https://github.com/chef-cookbooks/ssh_known_hosts/pull/54 is wrong. I'm working on a fix and some tests so ensure we write out the correct format.
Generated ssh_known_hosts was not working for hosts on the default port. (Maybe syntax for specifying port is broken?)
Before merging, please verify that removing the port specification does not add the key as accepted for all ports, which may be undesirable.
Obvious fix.