the problem is in this file
https://github.com/openssh/openssh-portable/blob/master/contrib/ssh-
copy-id
in line 335
dropbear*)
populate_new_ids 0
[ "$DRY_RUN" ] || printf '%s\n' "$NEW_IDS" | \
$SSH "$@" "$(installkeys_sh /etc/dropbear/authorized_keys)" \
|| exit 1
ADDED=$(printf '%s\n' "$NEW_IDS" | wc -l)
;;
dropbear only uses the file /etc/dropbear/authorized_keys if it was patched
in the upstream version of dropbear the patch is not included
im working with some embedded systems where the file
/etc/dropbear/authorized_keys is not writeable
with older ubuntu systems ssh-copy-id was working
but since that change in ssh-copy-id can't install the ssh key anymore
** Changed in: openssh (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1966886
Title:
ssh-copy-id and Dropbear Server
Status in openssh package in Ubuntu:
New
Bug description:
on Dropbear SSH Servers ssh-copy-id installs the key in
/etc/dropbear/authorized_keys
only the openwrt dropbear server uses that path
https://github.com/openwrt/openwrt/blob/2211ee0037764e1c6b1576fe7a0975722cd4acdc/package/network/services/dropbear/patches/100-pubkey_path.patch
the upstream dropbear server uses the normal path
~/.ssh/authorized_keys
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1966886/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp