On Sat, 23 Jun 2018 at 00:51, Rosen Penev <[email protected]> wrote: > > On Fri, Jun 22, 2018 at 1:53 AM Yousong Zhou <[email protected]> wrote: > > > > On Sun, 17 Jun 2018 at 11:07, Rosen Penev <[email protected]> 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 [1] and patches also dropbear [2] 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. [1] https://github.com/openwrt/packages/pull/6344 [2] https://git.openwrt.org/?p=openwrt/staging/yousong.git;a=shortlog;h=refs/heads/ssh-alt yousong _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/listinfo/openwrt-devel
