Skip to content
/ sshpg2 Public

keep your SSH keys GPG-encrypted (based on ssh-agent)

License

Notifications You must be signed in to change notification settings

jwilk/sshpg2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Keep your SSH keys GPG-encrypted!

  • You will need ssh-agent running. If you are a console user, or if X session doesn't start ssh-agent for you, add ssh.bashrc to your .bashrc.
  • ssh-add is a wrapper script that, when run without arguments, adds your GPG-encrypted private SSH keys (~/.ssh/*.gpg) to the ssh-agent.

FAQ

Why don't just set passphrase in ssh-keygen?
  • One passphrase for the GPG key is more manageable than N + 1 passphrases, especially when N, the number of SSH keys, is high.
  • GPG-Agent's password entry UI is prettier that SSH's one.
What does the name stand for?
SSH keys protected by GnuPG, attempt #2

About

keep your SSH keys GPG-encrypted (based on ssh-agent)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages