I have installed luci, and have installed openssh. How do I actually enable openssh on boot to replace the dropbear server?
If I uninstall dropbear, then for reasons I don’t understand ssh login doesn’t work at all.
Thanks in advance!
I have installed luci, and have installed openssh. How do I actually enable openssh on boot to replace the dropbear server?
If I uninstall dropbear, then for reasons I don’t understand ssh login doesn’t work at all.
Thanks in advance!
I suggest that you don’t uninstall dropbear - it can be problematic when you do upgrades.
Here’s how I do it in OpenWRT:
That’ll install/start openssh and the “enable” will run it on every boot; it’ll be bound to port 22 by default. Next, verify that you can ssh into the router by ssh-ing in again on the default port 22 (e.g. ssh root@192.168.1.1). Once you’ve verified that its working, you can OPTIONALLY disable dropbear (it uses next to no RAM or CPU when not in use - so its kinda nice to leave it running for at least a few days just in case something bombs):