I upgraded a GL-AR150 mini router from 21.02 to 21.02.1. Before the upgrade, I could access it via SSH. After the upgrade, port 22 is closed according to nmap. I can access the LuCI web interface.
In System/Software, dropbear is displayed as Installed.
In System/Startup, dropbear is displayed as Enabled.
In Status/Processes, no dropbear process is listed.
I don't find any hints in the syslog.
Another router of type GL-AR300M is upgraded too and works as expected. Could this be a GL-AR150 issue?
That I cannot do as SSH is the only way to enter commands in a shell. At the moment, I only can access the box via Port 443. It is also installed at a remote location, so I have no physical access. Maybe I can install telnet to get a shell.
In the meantime I managed to install openssh and I have ssh access to the box again. So the problem is solved for me, while the dropbear problem stayes open.
It turned out the BannerFile was set to a nonexisting file. I changed that line in /etc/config/dropbear to the existing file /etc/banner and restarted dropbear. Now it works. I had found this already, but thank you anyway!
Generally for remote connection we recommend a VPN tunnel for security. Dropbear doesn’t really have any serious authentication functions that stand up to a WAN real life environment connection.
And BanIP for stopping brute force attempts (“max attempts” thing in dropbear) on all ports.