General
PromptBeginner5 minmarkdown
<h1 align="center">
<a href="https://prompts.chat">
5
⚠️ Storing SSH keys on disk can be dangerous. Using a hardware crypto key can help mitigate key exfiltration from your local or remote hosts.
Sign in to like and favorite skills
gpg-agent to a remote host.⚠️ Storing SSH keys on disk can be dangerous. Using a hardware crypto key can help mitigate key exfiltration from your local or remote hosts.
This assumes you already added a GPG key to your Yubikey and now just want to forward it to a remote host.
./yubikey_gpg-agent-forward.sh admin host.example.com
The important part here is typing the
and username
. These variables are needed to write a correct config.hostname/IP
git clone https://github.com/stationgroup/gpg-agent-forward.git && cd gpg-agent-forward && ./yubikey_gpg-agent-forward.sh USER HOST.COM