landscape photo of castle on top of mountain peak

How to Lock GPG/SSH Agents when Screen Locks or After a Timeout

When we aren’t using GPG/SSH, it’s best to lock it. We can set this to happen after a set time, and/or when the screensaver activates. This helps to keep our credentials secure.

June 28, 2021 · 3 min · Matt Bagley · Updated Jul 17, 2023