Install latest/stable of ykman - YubiKey Manager CLI
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Caution: you will need pcscd installed and running .
$ sudo apt install pcscd
Examples:
List connected YubiKeys, only output serial number:
$ ykman list --serials
Show information about YubiKey with serial number 0123456:
$ ykman --device 0123456 info
Please note that this is not a official maintained package. Use at your own risk.
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.