title: .gitignore file for ssh directory
body: <p>I am trying to make sure the contents of the .ssh directory do not get into the Git Repository:</p>
  
  <p><strong>executeS:~$ git diff --stat --cached origin/master</strong></p>
  
  <pre><code>.gitignore           |   7 ------
   .ssh/.gitignore      |   2 ++
   .ssh/authorized_keys |   1 +
   .ssh/id_rsa          |  51 ++++++++++++++++++++++++++++++++++++++
   .ssh/id_rsa.pub      |   1 +
   .ssh/known_hosts     |   2 ++
   .viminfo             | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------
  </code></pre>
  
  <p><strong>I then take them out as follows:</strong></p>
  
  <pre><code>executeS:~$ git rm --cached .ssh/authorized_keys
  rm '.ssh/authorized_keys'
  executeS:~$ git rm --cached .ssh/id_rsa
  rm '.ssh/id_rsa'
  executeS:~$ git rm --cached .ssh/id_rsa.pub
  rm '.ssh/id_rsa.pub'
  executeS:~$ git rm --cached .ssh/known_hosts
  </code></pre>
  
  <p><strong>I have the following .gitignore file</strong></p>
  
  <pre><code>executeS:~/.ssh$ pwd
  /home/dockcclubdjango/.ssh
  
  executeS:~/.ssh$ cat .gitignore
  .*
  !/.gitignore
  </code></pre>
  
  <p>But then if I do, "git add . -A", I get waht I had in step 1 all over
  again. What can I do to make sure that .ssh NEVER gets into the
  repository?</p>