Warning: DNS SPOOFING DETECTED error

We have rolled out a new Git server as of late February. If you are using Git w/ SSH and see the error above, you simply need to remove the old keys saved to your 'known_hosts' file

Mac / Linux Users:
1.) Open a Terminal and type "vim ~/.ssh/known_hosts" <enter>
2.) Move your cursor to any entry that says "myorg.git.cloudforge.com" or "myorg.git.codesion.com" and hit "dd" on the keyboard to delete this entry.
3.) Hit the escape key, and then type "wq!" <enter>
4.) Clone a repository into an empty directory to add the SSH key to known hosts


Windows users:
1.) Go to Start -> Run and type "regedit"
2.) Navigate to HKEY_CURRENT_USER\SoftWare\myusername\PuTTY\SshHostKeys
3.) Remove any keys referring to cloudforge or codesion
4.) Clone a repository into an empty directory to add the SSH key to Putty's known hosts.

Have more questions? Submit a request

0 Comments

Article is closed for comments.