Closed davidwinter closed 12 years ago
If you can think of a way to get the public key of the server, it would be easy to 'fake' an entry in known_hosts.
Or, how about it doesn't attempt to run add_ssh_hostkey() more than once? That would be more robust. I'm just trying to get my acceptance tests on cucumber support to pass, and I can start looking at the backlog.
David, this ought to be better. Feel free to re-open if it doesn't help.
Just adding this as a potential thing to think about for future development.
With a server that has
denyhosts
installed, when theBootstrapper
runsadd_ssh_hostkey()
, because the userno_such_user
doesn't exist, it triggers it as an invalid user login attempt. After a few times of this being run, the host gets blocked.Is there a tidier way to have the host added to the known_hosts file on the users machine?