Reset the ssh password on the pi

What is the problem?

I can't remember what I used for the SSH password to the pi running OctoPrint. I didn't use one of my normal ones.

Is there a way to access the SD Card and set a new password without starting from scratch and setting up the system again?

What did you already try to solve it?


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_ok: True
connectivity.enabled: True True
connectivity.resolution_ok: True
env.hardware.cores: 4
env.hardware.freq: 1500.0
env.hardware.ram: 1903308800
env.os.bits: 32 linux
env.os.platform: linux
env.plugins.pi_support.model: Raspberry Pi 4 Model B Rev 1.4
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
systeminfo.generator: zipapi

Additional information about your setup

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


Bottom method of this post should work for you:

You may try this:

P.S.: The systeminfo bundle is not the systeminfo you posted, it is a zipped file. You stumbled over that download button before you clicked this tiny more...

Thanks. That bottom method is precisely what I was hoping for.

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