Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#70901 - ssh-copy-id to dropbear server installs authorized_keys in wrong location
Attached to Project:
Arch Linux
Opened by Ronny D. (RonnyD) - Sunday, 16 May 2021, 11:31 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 16 May 2021, 12:37 GMT
Opened by Ronny D. (RonnyD) - Sunday, 16 May 2021, 11:31 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 16 May 2021, 12:37 GMT
|
DetailsDescription:
As discussed in this issue https://github.com/MichaIng/DietPi/issues/4380, it seems that Arch's `ssh-copy-id` puts the authorized key to `/etc/dropbear/authorized_keys` as opposed to `~/.ssh/authorized_keys` when interacting with a dropbear SSH server. This deviates to other `ssh-copy-id` packages such as on RaspberryPiOS. Additional info: * OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021 * https://github.com/MichaIng/DietPi/issues/4380 Steps to reproduce: - Install a dropbear server (perhaps through a dietpi VM: https://dietpi.com/) - generate a ssh key using `ssh-keygen` - copy ssh key to server using `ssh-copy-id` - find the file in `/etc/dropbear/authorized_keys instead` of `~/.ssh/authorized_keys` |
This task depends upon

what does `type -a ssh-copy-id` give you?

Actually, nevermind, see line 335 of the script.