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 username
and hostname/IP
. These variables are needed to write a correct config.
git clone https://github.com/stationgroup/gpg-agent-forward.git && cd gpg-agent-forward && ./yubikey_gpg-agent-forward.sh USER HOST.COM