0

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 ping and nmap it.

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 user@192.168.0.101 times out for any user.

At this point, do I have any other option than to wipe the SSD and start all over again?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.