Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2010 18:25:43 -0500
From:      Chris Brennan <xaero@xaerolimit.net>
To:        xSAPPYx <xsappyx@gmail.com>
Cc:        freebsd-questions@freebsd.org, Jerrin <slackmails@gmail.com>
Subject:   Re: ssh authentication error
Message-ID:  <AANLkTinzNruXxC1pzajbGZ1nwGByUaQdixwvszFtzk_2@mail.gmail.com>
In-Reply-To: <AANLkTin0Rj=DfZzFR1wAGarXn_--ko8TtWJTP_Mgp0km@mail.gmail.com>
References:  <AANLkTinwfFFsES_O3uvVmGcUwwgSZ2SMnAY_BpCbDvqG@mail.gmail.com> <AANLkTin0Rj=DfZzFR1wAGarXn_--ko8TtWJTP_Mgp0km@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 12, 2010 at 5:58 PM, xSAPPYx <xsappyx@gmail.com> wrote:

> On Thu, Nov 11, 2010 at 10:06, Jerrin <slackmails@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@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>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinzNruXxC1pzajbGZ1nwGByUaQdixwvszFtzk_2>