← 返回命令列表

Linux command

ykman-config 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show device info

ykman config info

Set lock code

ykman config set-lock-code

Enable USB interface

ykman config usb --enable [OTP]

Disable NFC interface

ykman config nfc --disable [FIDO2]

说明

ykman config manages YubiKey device configuration. Enable or disable applications and interfaces. Set lock codes for configuration protection.

参数

info
Show configuration.
set-lock-code
Set or change lock code.
usb _options_
Configure enabled applications over USB (OTP, FIDO2, U2F, OATH, PIV, OPENPGP, HSMAUTH).
nfc _options_
Configure enabled applications over NFC.
--enable _APP_
Enable the named application for the selected transport.
--disable _APP_
Disable the named application for the selected transport.
--enable-all
Enable all supported applications for the transport.
--disable-all
Disable all applications for the transport.
--lock-code _HEX_
Provide the current lock code when changing protected settings.
-f, --force
Apply changes without confirmation.

FAQ

What is the ykman-config command used for?

ykman config manages YubiKey device configuration. Enable or disable applications and interfaces. Set lock codes for configuration protection.

How do I run a basic ykman-config example?

Run `ykman config info` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does info do in ykman-config?

Show configuration.