[OpenWrt-Devel] [PATCH] dropbear: Install to /(s)bin instead of /usr so OpenSSH can coexist
yszhou4tech at gmail.com
Mon Jun 25 02:19:06 EDT 2018
On Sat, 23 Jun 2018 at 00:51, Rosen Penev <rosenp at gmail.com> wrote:
> On Fri, Jun 22, 2018 at 1:53 AM Yousong Zhou <yszhou4tech at gmail.com> wrote:
> > On Sun, 17 Jun 2018 at 11:07, Rosen Penev <rosenp at gmail.com> wrote:
> > >
> > > If you run opkg install openssh-client and then remove it, the ssh client
> > > symlink that was initially there goes away. This avoids that problem.
> > >
> > opkg's "alternatives" support fits this situation perfectly. Please
> > take busybox ip and ip-tiny, ip-full as an example.
> Hmm? Dropbear needs to be installed alongside OpenSSH in order to edit
> sshd_config to enable root login.
Sorry, failed to get how this symlink management thing affects root login.
I created a pull request for openssh-client  and patches also
dropbear  to use the alternatives support in opkg. The
alternatives support intends to be a general solution to the
preinst/postrm hook or PATH precedence hack.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel