FG

tmux: Cannot SSH from inside tmux, even though I have agent-forwarding (ssh -A) on

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

Problem

So I have keys to some servers stored locally on my MacBook, but I work from inside a Virtual Machine a considerable amount of time, so I SSH to the VM with . This allows me to SSH to servers from inside the VM. I recently started using tmux to manage my terminal windows better, but I've discovered…

Error Output

ssh -A

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: tmux: Cannot SSH from inside tmux, even though I have agent-forwarding (ssh -A) on

Low Risk

When you open a second connection to your VM, it will use a different environment variable, but tmux and the processes under it will only know the old value. When you attach to an existing session, tmux can tell the master process to update some env…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment