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.
Report ykman - YubiKey Manager CLI for a Snap Store violation
Snap Store Violation Report submitted successfully
Thank you for your report. Information you provided will help us investigate further.
Error submitting report
There was an error while sending your report. Please try again later.
External link warning
You are about to open
Do you wish to proceed?
(Verified ownership)
The publisher has verified that they own this domain.
It does not guarantee the Snap is an official upload from the
upstream project.
Enable snaps on Red Hat Enterprise Linux and install ykman - YubiKey Manager CLI
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
The packages for RHEL 7, RHEL 8, and RHEL 9 are in each distribution’s respective Extra Packages for Enterprise Linux (EPEL) repository. The instructions for adding this repository diverge slightly between RHEL 7, RHEL 8 and RHEL 9, which is why they’re listed separately below.
The EPEL repository can be added to RHEL 9 with the following command: