FG
💻 Software

Agent Forwarding not working

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

Problem

I have a machine (lets call it MachineB) that I create an ssh tunnel to, so I can then ssh into the rest of the hosts in the cluster. AllowAgentForwarding is enabled on MachineB's sshd_config and others are able to ssh from one machine to another within the cluster without re-entering their credent…

Error Output

StrictHostKeyChecking no
 ServerAliveInterval 60

 User john

 Host MachineB.example.com MachineB
 User john
 ForwardAgent yes
 ProxyCommand none
 Co…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Agent Forwarding not working

Low Risk

Finally figured it out. The issue was my private key was unencrypted (I didn't enter a passphrase when I created it). Apparently ssh wont let you forward an unencrypted private key. The way I fixed it was I went to my ~/.ssh directory. My private ke…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment