OpenSSH 2.3 on Tru Unix: Problems
mouring at etoh.eviladmin.org
mouring at etoh.eviladmin.org
Fri Jan 5 04:06:33 EST 2001
On Thu, 4 Jan 2001, Tobias Burnus wrote:
> Hi Damien,
>
> > > (A) AS SERVER
> > > The authenification via .ssh/known_host doesn't work.
> > > I have the same sshd_config as on FreeBSD (OpenSSH 2.2.0), where it works.
> > ~/.ssh/known_hosts isn't for user authentication. You want
> > ~/.ssh/authorized_keys and ~/.ssh/authorized_keys for that.
> Which I actually have (I mixed the file names), but still: It doesn't
> work to this True Unix computer whereas it works with OpenSSH on FreeBSD
> and with SSH on FreeBSD and True Unix.
>
Check the permissions of authorized_keys and authorized_keys2 They
*MUST* not be read/write/excutable by group or other. Otherwise it will
fail.
I almost wonder (since I've make this mistake before) if we should not
product some sort of warning that the authorized_key* have the wrong
permission.
More information about the openssh-unix-dev
mailing list