On Mon, Feb 1, 2010 at 9:49 PM, Warren Michelsen <Warren at mdcclxxvi.com> wrote: > On Mac OS, in order to allow ssh using dsa keys, I would copy > ~/.ssh/id_dsa.pub from my machine into ~/.ssh/authorized_keys of the > target machine. I've created .ssh directories in my account home as > well as in /root and copied the respective keys to authorized_keys > files in each. > > Strangely, I can now ssh as root with no password but my own user > account still prompts for a password. What might be wrong? > > > Interestingly, passwordless root ssh log-in worked while > 'PermitRootLogin' in /etc/ssh/sshd_config was just 'yes' and before I > changed it to 'without-password'. > chmod 700 ~/.ssh chmod 600 ~/.authorized_keys