Created
March 5, 2013 08:05
-
-
Save balgarath/5088722 to your computer and use it in GitHub Desktop.
Chef Knife SSH Rackspace solution to Net::SSH::HostKeyMismatch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You'll get this w/ rackspace cloud when an IP in your cloud gets re-used(if you deleted a server, and then later create a server that gets assigned the old one's IP). You can disable this error by adding the following to .ssh/config, however be aware of the security considerations here...namely, if Rackspace DNS is compromised, you won't have any warning if the hostname gets pointed to a different computer. | |
Host *static.cloud-ips.com | |
StrictHostKeyChecking no | |
UserKnownHostsFile=/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment