Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

stationgroup/gpg-agent-forward

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
14 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Forward your Yubikey gpg-agent to a remote host.

Simple GPG agent-forwarding config maker for Yubikey use with SSH.

πŸ“– Getting Started

⚠️ 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 username and hostname/IP. These variables are needed to write a correct config.

The one-liner version

git clone https://github.com/stationgroup/gpg-agent-forward.git && cd gpg-agent-forward && ./yubikey_gpg-agent-forward.sh USER HOST.COM

About

πŸ”‘ Simple GPG agent-forwarding config maker for Yubikey use with SSH

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.