Unable to add sk-ecdsa-sha2-nistp256@openssh.com SSH keys to MAAS Web GUI

I currently use a Yukikey to protect my SSH key. For this to work, it generates an “sk-ecdsa-sha2-nistp256@openssh.com” key on my system. This works without issue but when I attempt to upload this key to MAAS I get the following error.

Error: Invalid SSH public key: Key type sk-ecdsa-sha2-nistp256@openssh.com not recognised; it should be one of: ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-dss ssh-ed25519 ssh-rsa

Hi @MrClayPole,

sk-ecdsa-sha2-nistp256 keys aren’t currently supported by MAAS. I’m adding this to the Feature Request list.