I went through the instructions on this page when I set mine up: https://github.com/drduh/YubiKey-Guide
Doing a quick scan, there’s some discussion on the page about having multiple Yubikeys, and I think that it also talked about restoring from backup, and it assumes you have a copy of the actual public and private keys offline that you can use for that. -Mike Sent from my iPhone > On Oct 22, 2021, at 09:28, Paul de Weerd <we...@weirdnet.nl> wrote: > > Hi all, > > I've been happily using a yubikey together with an id_ed25519 SSH key > when logging in over SSH: > > uhidev7 at uhub3 port 2 configuration 1 interface 1 "Yubico YubiKey > OTP+FIDO+CCID" rev 2.00/5.27 addr 9 > > I would now like to migrate over to a new yubikey with a USB-C > connector, as my new personal laptop has no USB-A ports. Digging > through the ssh-keygen manpage, I don't see an option to do this; it > seems you can only create new keys. > > Is this indeed impossible, or am I looking at the wrong manpage? > > Thanks, > > Paul > > -- >> ++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ > +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] > http://www.weirdnet.nl/ >