Sublime Forum

Host key verification failed

#1

I just migrated our site to a new server. Now when I try to access my Expression Engine templates I get the following response:

The SSH host key has changed. This could indicate a potential security breach, or that the domain you are connecting to recently moved servers.
If you are confident this is not a security breach you can delete the old host key and try again.

  1. Open the file /Users/g*****/.ssh/known_hosts
  2. Delete the line starting with [IP address]:port
  3. Save your changes

I am running on MacOs v15.5. There is no ‘.ssh’ file directory/folder. Where can I find the “known_hosts” file?

0 Likes

#2

This has got nothing to do with Sublime Text, (or Merge) and is therefore off topic here. I suggest asking AI :slightly_smiling_face:

0 Likes

#3

This has EVERYTHING to do with Sublime Text. The message quoted came directly from Sublime Text. Without clearing the Sublime Text ‘known_hosts’ file, Sublime Text does not work. I hope someone using ST on a Mac knows how to clear the Sublime Text ‘known_hosts’ file.

0 Likes

#4

known_hosts is party of ssh, which is a tool provided by macOS. It’s likely you have a plugin or build system that is using ssh, so this issue is indeed unrelated to Sublime Text.

Note that you may have trouble finding the .ssh folder because it is hidden.

0 Likes