Struggling to SSH into octopi - Help needed please

Keep getting the following and cannot find the file or directory to delete it!!!!!

Add correct host key in /Users/kdhdd/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /Users/kdhdd/.ssh/known_hosts:1

Host key for octopi.local has changed and you have requested strict checking.

Host key verification failed.

kdhdd@Kevans-MacBook-Pro ~ %


What did you already try to solve it?

googled but don't have the knowledge or experience to convert into a working action.

Have you tried running in safe mode?


Did running in safe mode solve the problem?


Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

browser.user_agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15
connectivity.connection_check :
connectivity.connection_ok : true
connectivity.enabled : true : true
connectivity.resolution_check :
connectivity.resolution_ok : true
env.hardware.cores : 4
env.hardware.freq : 1500
env.hardware.ram : 3959984128
env.os.bits : 32 : linux
env.os.platform : linux
env.plugins.pi_support.model : Raspberry Pi 4 Model B Rev 1.2
env.plugins.pi_support.octopi_version : 0.18.0
env.plugins.pi_support.throttle_state : 0x0
env.python.pip : 20.3.3
env.python.version : 3.7.3
env.python.virtualenv : true
octoprint.safe_mode : false
octoprint.version : 1.7.3
printer.firmware : Prusa-Firmware 3.10.1 based on Marlin
systeminfo.generator : systemapi

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

Mac OS ver 12.1 ( Monterey )
Octopi Version 0.18.0, running on Raspberry Pi 4 Model B Rev 1.2
Prusa i3 mk3S+
All latest firmware

Open the file it is telling you and delete the first line.

1 Like


I Would do that. but I cannot find it!!!

The .ssh folder is probably hidden - you might need to enable showing hidden folders to find it.

1 Like

Hi Charlie
Finally found the file and have gotten ssh to work, thanks

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.