/sbin/setup-user doesn't recognise ECDSA public keys
Alpine's OpenSSH supports ECDSA keys with
ssh-keygen -t ecdsa
However, they aren't recognised by setup-user
. Keys there are filtered in several places with ^ssh-
, but ECDSA keys (alone) don't start with that prefix — they start with ecdsa-sha2-nistp256
instead.