title: SSH ignores my ForwardAgent config?
body: <p>I'm trying to set up Capistrano for a webapp I'm working on, and I'm having trouble getting agent forwarding to work.</p>
  
  <p>Here's my <code>~/.ssh/config</code>:</p>
  
  <pre><code>Host rs
  Hostname &lt;ip of my server&gt;
    ForwardAgent yes
  
  User root
  </code></pre>
  
  <p>And I don't think default settings are overriding anything, since <code>ForwardAgent</code> is never mentioned there (except in a commented line).</p>
  
  <p>Here's what happens when I SSH normally:</p>
  
  <pre><code>$ ssh -v deploy@&lt;server&gt;
  OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
  debug1: Reading configuration data /Users/ulyssecarion/.ssh/config
  debug1: Reading configuration data /etc/ssh_config
  debug1: /etc/ssh_config line 20: Applying options for *
  debug1: /etc/ssh_config line 102: Applying options for *
  
  -- snip --
  
  debug1: channel 0: new [client-session]
  debug1: Requesting no-more-sessions@openssh.com
  debug1: Entering interactive session.
  debug1: Sending environment.
  debug1: Sending env LANG = en_US.UTF-8
  Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.8.0-29-generic x86_64)
  </code></pre>
  
  <p>If I force SSH to allow agent-forwarding with the <code>-A</code> flag, then I can get it work:</p>
  
  <pre><code>$ ssh -Av deploy@&lt;server&gt;
  OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
  debug1: Reading configuration data /Users/ulyssecarion/.ssh/config
  debug1: Reading configuration data /etc/ssh_config
  debug1: /etc/ssh_config line 20: Applying options for *
  debug1: /etc/ssh_config line 102: Applying options for *
  
  -- snip --
  
  debug1: channel 0: new [client-session]
  debug1: Requesting no-more-sessions@openssh.com
  debug1: Entering interactive session.
  debug1: Requesting authentication agent forwarding. # Note this additional line here
  debug1: Sending environment.
  debug1: Sending env LANG = en_US.UTF-8
  Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.8.0-29-generic x86_64)
  </code></pre>
  
  <p>(Notice that the logs on the second example have an additional line indicating agent forwarding is being requested.)</p>
  
  <p>Is this normal, or am I doing something wrong? Thanks in advance!</p>