title: Setup passphraseless ssh to localhost on OS X
body: <p>I'm trying to get Hadoop's Pseudo-Distributed Operation example (http://hadoop.apache.org/common/docs/stable/single_node_setup.html) to work on OS X Lion, but am having trouble getting the ssh to work without a passphrase.  </p>
  
  <p>The instructions say the following:</p>
  
  <blockquote>
    <p>Setup passphraseless ssh</p>
    
    <p>Now check that you can ssh to the localhost without a passphrase: $
    ssh localhost</p>
  </blockquote>
  
  <p>I'm getting connection refused:</p>
  
  <pre><code>archos:hadoop-0.20.203.0 travis$ ssh localhost
  ssh: connect to host localhost port 22: Connection refused
  </code></pre>
  
  <blockquote>
    <p>If you cannot ssh to localhost without a passphrase, execute the
    following commands:</p>
  </blockquote>
  
  <pre><code>$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa   
  $ cat ~/.ssh/id_dsa.pub &gt;&gt; ~/.ssh/authorized_keys
  </code></pre>
  
  <p>After this step I am still getting connection refused.  Any ideas???</p>