ssh authentication error

Chris Brennan xaero at xaerolimit.net
Fri Nov 12 23:26:06 UTC 2010


On Fri, Nov 12, 2010 at 5:58 PM, xSAPPYx <xsappyx at gmail.com> wrote:

> On Thu, Nov 11, 2010 at 10:06, Jerrin <slackmails at gmail.com> wrote:
> > Hi,
> >
> >  On a mac system i generated the key using ssh-keygen -t dsa and copied
> > .ssh/id_dsa.pub to /home/user/.ssh/authorized_keys on a Freebsd server,
> but
> > it prompts for the password
>
> Check perms on /home/user/.ssh/authorized_keys
> chmod 640 or 600, not 644
>
> If that doesn't work, try to ssh with a -v or -vv, that might give you
> more of a clue
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>

That's the permissions of my authorized_keys, I believe that's 0600, some
systems require a much more restrictive 0400 octal.

-rwxr--r--   1 chris  chris   622B Jun 28 21:36 authorized_keys

Did you know...

If you play a Windows 2000 CD backwards, you hear satanic messages,
but what's worse is when you play it forward....
                                      ...it installs Windows 2000

   -- Alfred Perlstein on chat at freebsd.org
<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>


More information about the freebsd-questions mailing list