I have a Raspberry Pi 4 where I installed Raspbian headlessly and had an apache web server and a mail server running - at some point the servers crashed and after not being able to fix it for some time, the SSH pipe also broke. I have hard-rebooted the Raspberry-Pi (pulled the plug).
I played around a bit with
ufw before being not able to log in, but the errors did not start immediately (i.e. 2h later) so I hope that I did not mess up anything there.
Since then, I can not log-in to the Raspberry-Pi via SSH (
connect to host 192.168.0.101 port 22: Operation timed out.
I have confirmed with my router that my
Raspberry Pi has the fixed IP address 192.168.0.101 in my local network, and I can
nmap 192.168.0.101 -Pn > Nmap scan report for 192.168.0.101 > Host is up (0.0046s latency). > Not shown: 996 filtered tcp ports (no-response) > PORT STATE SERVICE > 25/tcp open smtp > 143/tcp open imap > 465/tcp open smtps > 587/tcp open submission
I tried to follow the advice from the documentation, shut down the raspberry pi again, ejected the SSD card, mounted it on my computer and navigated to the boot volume:
cd /Volumes/boot touch ssh
to enable SSH again, but it is the same issue that
ssh firstname.lastname@example.org times out for any user.
At this point, do I have any other option than to wipe the SSD and start all over again?