Support for here documents with sftp client in OpenSSH 2.5.1p 1-1 (RH Linux 6.2 [2.2.x kernel])

Damien Miller djm at mindrot.org
Fri Mar 16 10:40:08 EST 2001


On Thu, 15 Mar 2001, Davis, Ricardo C. wrote:

> Damien,
>
> I was going down the path of public key authentication when I encountered
> problems.  I've been discussing it off-line using the simple example of
> creating a key pair with no passphrase for an account on "myserver", then
> trying to connect to myserver using the "ssh -i id_dsa myserver" command.
> It's not working, so we're debugging now (see below).  If you have any
> insight as to what's going on it would be appreciated.
>
> -Ricardo
>
> P.S.  The mode of id_dsa is 600, the mode of id_dsa.pub is 644.

> DSA authentication refused for myaccount: bad ownership or modes for
> '/home/myaccount/'.

> # ls -ld m*
> drwxrwx---   10 myaccoun  acctAdm      4096 Mar 15 13:42 myaccount

This should be 0750, i.e.

> drwxr-x---   10 myaccoun  acctAdm      4096 Mar 15 13:42 myaccount

-d

-- 
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's
| http://www.mindrot.org          /   distributed filesystem'' - Dan Geer






More information about the openssh-unix-dev mailing list