|
NAMEagent-transfer - copy a secret key from gpg-agent to ssh-agentSYNOPSISagent-transfer [options] KEYGRIP [COMMENT]DESCRIPTIONagent-transfer extracts a secret key from a modern version of GnuPG agent and sends it to the running SSH agent. This is useful for people whose keys are managed in the long-term by GnuPG's gpg-agent, but who prefer the semantics of OpenSSH's ssh-agent for regular use.agent-transfer was written as part of the monkeysphere project. The KEYGRIP should be specified as a sequence of 20 hexadecimal characters. If you aren't sure of the keygrip, you can inspect the output of: gpg --with-keygrip --list-secret-keys The COMMENT is optional, and will be stored alongside the key in ssh-agent. It must not start with a -, to avoid being mistaken for an option. OPTIONSagent-transfer also accepts options that would normally be passed to ssh-add(1) to constrain the use of the transferred key:
FILES
ENVIRONMENT VARIABLES
Several other environment variables are also passed in some form to the gpg-agent to help it figure out how to run a sensible pinentry, including GPG_TTY, TERM, DISPLAY, XAUTHORITY, GTK_IM_MODULE, DBUS_SESSION_BUS_ADDRESS, and LANG. BUGSagent-transfer can only work with RSA and Ed25519 keys. Support for other key types not yet implemented. Patches welcome!AUTHORWritten by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>SEE ALSOmonkeysphere(7), ssh(1), ssh-add(1), ssh-agent(1), gpg(1) gpg-agent(1),
Visit the GSP FreeBSD Man Page Interface. |