After recent update, not able to ssh into dietpi 8.9.2

I changed the /boot/dietpi.txt to enable auto updates a few weeks back.

CONFIG_CHECK_APT_UPDATES=2

Now I cannot ssh into the dietpi. logged into serial terminal, port 22 is still open on 0.0.0.0:22
Installed ssh through dietpi-software(it uninstalled dropbear)
Still can’t login.(permission denied)
Added ip to DMZ, still no go.
Reinstalled dropbear through dietpi-software, port 22 is open, can’t connect.
Tried port 24, no go.
Can ssh to localhost from rpi serial connection fine.

Also there is a bug installing telnetd, does not open port 23.
apt install telnetd
Dietpi 8.9.2 latest update.

Try this apt update; apt install tcpdump; iptables-save -c; tcpdump -i any -vn tcp port 22
Try to connect a couple of times before you run the commands, so we see hits on the firewall, and after tcpdump is running, so we can see if and how the packets get to the server.

question: are you able to connect but not able to login (incorrect user/password)? Or don’t you even have the login prompt?

Not able to connect, no login prompt.
No firewall installed on router or dietpi.
Dietpi ip is in DMZ on router.

Did you tried what Trendy suggested?
apt update; apt install tcpdump; iptables-save -c; tcpdump -i any -vn tcp port 22

1 Like

for testing, are you able to move your client (computer, laptop) into same DMZ? Just to have client and server within same network segment.

1 Like