yubikey-agent
yubikey-agent copied to clipboard
How do I get the Public key from the Yubikey? - AGAIN?
I am using this Agent for Month everything was working.
But how do I get on the Public key again, from the Yubikey without creating it new?
I want to setup a new server, but I don't know how to get the public key from the yubikey it self.
In order to get the public key from yubikey-agent, you can run the command below on your terminal:
ssh-add -L
You can also copy the public key directly into server:
ssh-copy-id user@hostname
From my point of view this should also be added to an FAQ document and this issue be closed as the question is answered.