OpenWrt 19.07.5 ssh-login as root

I didn't know that ssh and dropbear don't work together.
That you use either dropbear or sshd. Sure, because I hadn't heard vin dropbear before.
Thank you for your help.
Regards

That's entirely up to you. If you can identify a requirement for keeping two separate SSH servers running simultaneously, then feel free to do so. Just be aware of any conflicts which may arise.

I find the default instance of dropbear, with the single addition of openssh-sftp-server is adequate for my needs. It lets me administer the router and copy files to and from it. I don't require the full openssh suite. However, I wouldn't presume to suggest that my requirements are suitable for everyone; you should do your own research and arrive at your own conclusions.

2 Likes

Certainly, my requirements in this case are lower than yours.
So I'm going to use dropbear with openwrt.
Please tell me what I need to uninstall.
Thank you for your help

If all you require is command-line access via SSH into OpenWRT, then dropbear on its own should be sufficient. It integrates well with the web management GUI, and supports both password and public-key authentication.

By default, OpenWRT does not ship with any packages with "ssh" in their names already installed. So, if you want a basic default setup, you may wish to remove all of those packages which include the substring "ssh" in their names, leaving only dropbear installed.

But, if you currently use any of the features offered by the other packages, then be aware that removing them might affect your ability to use those features.

2 Likes

Thank you for your help!!!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.