I am trying to replicate a setup I have with cisco where I login via ssh (with a private/public authentication) and then I do a "show run", so I get a fresh backup I can store and diff without having to login.
I am documenting it here in case anyone finds it useful (haven't find anything around), on the manual says that the command to upload the key is
user <username> authorized-key PUBKEY
The user needs to be created AND to have a password defined.
About the PUBKEY definition, after a lot of trial it seems that the switches are happy with the .pub format that you get with linux ssh-keygen
Something similar to this (with your own keys) should work
user test authorized-key ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBd3X/oj1tYnbgLSJLJoMmX96q+tl6o8f6e3y2qx1 user@test
A happy surprise is that it allows to use ed25519 signatures.
With this we will be able to login