From: laredotornado on
On May 20, 6:01 pm, "Chris F.A. Johnson" <cfajohn...(a)gmail.com> wrote:
> On 2010-05-20, laredotorn...(a)zipmail.com wrote:
> > Hi,
>
> > I'm using Mac 10.6.3 and logged in to my machine as "davea".  I'm
> > trying to set up password-less login to a remote machine, "remote1".
> > So I ran this command ...
>
> > ssh remotelogin(a)remote1 'echo '`cat ~/.ssh/id_dsa.pub`' >> ~/.ssh/
> > authorized_keys'
>
> > after entering in the password to the remote machine, I then tried to
> > SSH in using
>
> > ssh remotelogin(a)remote1
>
> > However, I was prompted for a password, which I wanted to avoid.
> > Could someone suggest additional steps to troubleshoot this problem?
>
>    Check the permissions on the files in ~/.ssh (both local and remote
>    machines). They must be readable only by you:
>
> chmod 600 ~/.ssh/*
>
> --
>    Chris F.A. Johnson, author           <http://shell.cfajohnson.com/>
>    ===================================================================
>    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
>    Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
>    ===== My code in this post, if any, assumes the POSIX locale  =====
>    ===== and is released under the GNU General Public Licence    =====

Ok, not prompting me for a password anymore. I removed the password
from the id_dsa key (which I've read is bad) and changed the perms to
600. - Dave