Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I get the Public key from the Yubikey? - AGAIN? #124

Open
fishooo0815 opened this issue Apr 8, 2022 · 2 comments
Open

How do I get the Public key from the Yubikey? - AGAIN? #124

fishooo0815 opened this issue Apr 8, 2022 · 2 comments

Comments

@fishooo0815
Copy link

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.

@fishooo0815 fishooo0815 changed the title How do I get on the Public key on the Yubikey? How do I get the Public key from the Yubikey? - AGAIN? Apr 10, 2022
@onurguzel
Copy link

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

@lwbt
Copy link

lwbt commented Feb 18, 2023

From my point of view this should also be added to an FAQ document and this issue be closed as the question is answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants