gpg-agent not working for ssh

I recently did a linux reinstallation on my workstation after more than 4 years of cruft accumulation, but couldn’t get ssh to work with my cryptostick. I did all of the normal stuff required to disable ssh-agent and enable ssh-agent support in gpg-agent.

Turns out I needed to install the ‘gpgsm’ package (on Debian/Ubuntu), which replaces the normal gpg-agent with one that supports a smart card.

I’m posting this mostly for my own reference, but maybe it will help you too.

One thought on “gpg-agent not working for ssh

  1. Alice

    Hi Brock,
    I’m trying to teach myself how to be a sysadmin, and I really enjoyed your first two assignments on Linux sysadmining. They are pitched at the perfect level, and unlike so many of the reference pages online, they give you a TASK to do, which helps me actually learn something. Are you going to write any more assignments? I hope so!
    Alice

Comments are closed.