Re: Permission denied (publickey) Problem.
From: Richard E. Silverman (slade@shore.net)Date: 03/28/02
- Next message: Harold Hammond: "Re: PKI and Relying Parties"
- Previous message: Andrew McCall: "Permission denied (publickey) Problem."
- In reply to: Andrew McCall: "Permission denied (publickey) Problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: slade@shore.net (Richard E. Silverman) Date: 28 Mar 2002 05:59:15 -0500
> debug1: trying public key file /home/mccall/.ssh/authorized_keys2
> Authentication refused: bad ownership or modes for directory /home/mccall
>
> It seems to indicate that my permissions are wrong, but I am *sure*
> they are not!
Look again.
> Here are my permissions :
>
> Server side :
>
> server:/home/mccall # ls -la .ssh
> total 12
> 4 drwxr-xr-x 2 mccall users 4096 Mar 27 15:25 .
> 4 drwxrwxr-x 18 mccall users 4096 Mar 27 15:24 ..
> 4 -rw-r--r-- 1 mccall users 735 Mar 27 15:25 authorized_keys2
The complaint is about your home directory, which is group-writable --
sshd insists that it be owned by root or the target account and writable
only by the owner, unless you set "strictmodes no".
-- Richard Silverman slade@shore.net
- Next message: Harold Hammond: "Re: PKI and Relying Parties"
- Previous message: Andrew McCall: "Permission denied (publickey) Problem."
- In reply to: Andrew McCall: "Permission denied (publickey) Problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|