FG

What exactly does ssh-add do?

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

Problem

I recently reinstalled my laptop and found that 'git clone' wasn't working. I was consistently receiving errors. The fix is documented on GitHub's SSH issues page: use to tell SSH about the key I want to use to authenticate on GitHub. My question is: under the hood, what does actually do? I've been…

Error Output

Permission denied (publickey).

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What exactly does ssh-add do?

Low Risk

adds private key identities (from your directory) to the authentication agent ( ), so that the ssh agent can take care of the authentication for you, and you don’t have type in passwords at the terminal.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment