When I SSH into my firewall server, then attempt to ssh into another machine on the local network from there I get the following error:
Could not open a connection to your authentication agent.
Is there a way that I can have the agent run correctly from within another SSH session?
Yes. you can enable agent-forwarding by adding
in your ssh configuration file (either
~/.ssh/config
for user or/etc/ssh/ssh_config
system wide.See also http://drupal.txwikinger.me.uk/content/configurations-ssh-make-some-things-more-convenient.
Alternatively, if ssh is called with the option
-A
, the agent forwarding is also enabled as pointed out in the other answer.I addition to what txwikinger said, you can also just use the
-A
command line option when SSHing to your firewall.