]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
Special case OpenWrt instead of Dropbear.
authorDarren Tucker <dtucker@dtucker.net>
Wed, 10 May 2023 08:50:46 +0000 (18:50 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 25 May 2023 08:24:37 +0000 (18:24 +1000)
commitbdcaf7939029433635d63aade8f9ac762aca2bbe
tree32d3368fbf1a573d8dfb26c0b83186d10caebba6
parentcf84498f67abe93f813a296167b406a0db7b288e
Special case OpenWrt instead of Dropbear.

OpenWrt overrides the location of authorized_keys for root.  Currently we
assume that all Dropbear installations behave this way, which is not the
case.  Check for OpenWrt and root user before using that location instead
of assuming that for all Dropbear servers.  Prompted by Github PR#250.

SSH-Copy-ID-Upstream: 0e1f5d443a9967483c33945793107ae3f3e4af2d
contrib/ssh-copy-id