hko, 3 months ago (edited 3 months ago) To install: $ cargo install openpgp-card-ssh-agent Run the agent: $ openpgp-card-ssh-agent -H unix://$XDG_RUNTIME_DIR/ocsa.sock & Use the agent: $ export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ocsa.sock $ ssh <hostname> One-time setup of User PIN storage: $ ssh-add -s 0000:01234567 (On Linux you'll need a running "Secret Service" provider, e.g. GNOME Keyring, for PIN storage)
To install:
$ cargo install openpgp-card-ssh-agent
Run the agent:
$ openpgp-card-ssh-agent -H unix://$XDG_RUNTIME_DIR/ocsa.sock &
Use the agent:
$ export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ocsa.sock $ ssh <hostname>
One-time setup of User PIN storage:
$ ssh-add -s 0000:01234567
(On Linux you'll need a running "Secret Service" provider, e.g. GNOME Keyring, for PIN storage)