title: Start ssh-agent on login
body: <p>I have a site as a remote Git repo pulling from Bitbucket.com using an SSH alias. I can manually start the ssh-agent on my server but I have to do this every time I login via SSH.</p>
  
  <p>I manually start the ssh-agent:</p>
  
  <pre><code>eval ssh-agent $SHELL
  </code></pre>
  
  <p>Then I add the agent:</p>
  
  <pre><code>ssh-add ~/.ssh/bitbucket_id
  </code></pre>
  
  <p>Then it shows up when I do:</p>
  
  <pre><code>ssh-add -l
  </code></pre>
  
  <p>And I'm good to go. Is there any way to automate this process so I don't have to do it every time I login? The server is running RedHat 6.2 (Santiago).</p>