yubikey-agent - a seamless ssh-agent for YubiKeys
Contents
Configuration
To start yubikey-agent automatically, enable its service using:
systemctl--userenableyubikey-service.user
To start yubikey-agent once, start its service using:
systemctl--userstartyubikey-service.user
You must also set the $SSH_AUTH_SOCK variable to "$XDG_RUNTIME_DIR/yubikey-agent/yubikey-agent.sock".
In bash, this can be done by running the following command before your first use of yubikey-agent:
echo'exportSSH_AUTH_SOCK="$XDG_RUNTIME_DIR/yubikey-agent/yubikey-agent.sock"'>>~/.bashrcDescription
yubikey-agent [options] command [arguments]
OPTIONS-setup
Generate a new SSH key on the attached YubiKey.
-l PATH
Run the agent, listening on the UNIX socket at PATH.
yubikey-agent September 2021 USAGE(1)
Name
yubikey-agent - a seamless ssh-agent for YubiKeys
