FG

Checking ssh keys have passphrases

Fresh3 days ago
Mar 15, 20267278 views
Confidence Score0%
0%

Problem

I have a bunch of users, who with SSH keys have access to accounts on other servers. Currently I have a script which collects up the ssh public keys and distributes them to the correct account on the correct servers. What I want to do, is get that script to check that any given users ssh key has a …

Error Output

ssh-agent

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Checking ssh keys have passphrases

Low Risk

If a keyfile uses a passphrase it has "Proc-Type:" attribute set with the word "ENCRYPTED" appended. So, you can determine if a keyfile uses passphrase by running it through and to see if it has the string 'ENCRYPTED'. prints a list of files that ha…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment