FG
💻 Software

How can I get ssh-agent working over ssh and in tmux (on OS X)?

Fresh5 days ago
Mar 15, 202615971 views
Confidence Score0%
0%

Problem

I have a private key set up for my github account, the passphrase to which is, I believe, stored in OS X's keychain. I certainly don't have to type it in when I open a terminal window and enter . However, when I'm running bash over an ssh session, or locally inside a tmux session, I have to type in…

Error Output

[~]
$ echo $SSH_AUTH_SOCK
/tmp/launch-S4HBD6/Listeners
[~] 
$ ssh-add -l
2048 [my key fingerprint] /Users/richie/.ssh/id_rsa (RSA)
[~]
$ typeset -p S…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I get ssh-agent working over ssh and in tmux (on OS X)?

Low Risk

An elegant solution, picked up from dagit.o: Create Add to

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment