On Wed, May 16, 2001 at 11:32:23AM -0700, Richard Stanton wrote:
> This may be the problem, but
>
> a. I've only just starting seeing the same error messages, since my upgrade
> to 2.9p1. I didn't get them with the previous version of openSSH (but the
> auth... files are the same as before)
Since 2.9 has many new parts, it's possible that it checks more
modes than before. Another interesting point is the setting in
/etc/sshd_config. It contains a "StrictModes" setting which you
could try to set to "no".
> b. I've tried changing ownership of auth... to everything I can think of,
> and the same error messages still occur.
Even the LocalSystem (== SYSTEM) account?
[...]
> > I have installed sshd through cygrunsrv:
> >
> > $ cygrunsrv -I sshd -p /usr/sbin/sshd -a '-D'
If you installed it that way, it's running under LocalSystem.
> > debug1: Remote: RSA authentication refused for ronaldo: bad ownership or
> > modes f
> > or '/home/ronaldo/.ssh/authorized_keys'.
I installed sshd under my own account as I had installed 2.5.2
before. I'm just using cygrunsrv now instead of SRVANY. I didn't
had to change any user or mode settings of my files. I installed
the service with:
cygrunsrv -I "sshd" -p /usr/sbin/sshd -d "CYGWIN sshd" -a -D -u corinna
My settings of the concerned files (on NTFS, using ntsec):
$ ls -ld $HOME
drwxr-xr-x 11 corinna root 16384 May 16 21:53 /home/corinna
$ ls -ld .ssh
drwxr-xr-x 2 corinna root 4096 Apr 16 21:19 .ssh
$ ls -l .ssh
total 35
-rw-r--r-- 1 corinna root 338 Sep 29 2000 authorized_keys
-rw-r--r-- 1 corinna root 1430 Apr 1 00:29 authorized_keys2
-rw-r--r-- 1 corinna root 828 May 15 22:58 config
-rw------- 1 corinna root 736 Mar 19 08:39 id_dsa
-rw-r--r-- 1 corinna root 604 Oct 29 2000 id_dsa.pub
-rw------- 1 corinna root 887 Apr 3 18:27 id_rsa
-rw-r--r-- 1 corinna root 225 Mar 19 09:48 id_rsa.pub
-rw------- 1 corinna root 534 May 7 2000 identity
-rw-r--r-- 1 corinna root 338 Mar 29 2000 identity.pub
-rw-r--r-- 1 corinna root 14740 Apr 16 15:45 known_hosts
-rw-r--r-- 1 corinna root 4343 May 15 22:57 known_hosts2
-rw-r--r-- 1 corinna root 512 Apr 26 2000 random_seed
My /etc is on a FAT32 file system, so the below settings are
incorrect, but it doesn't matter:
$ ls -l /etc/ssh*
-rw-r--r-- 1 corinna root 989 Mar 9 10:55 /etc/ssh_config
-rw-r--r-- 1 corinna root 672 Mar 9 10:55 /etc/ssh_host_dsa_key
-rw-r--r-- 1 corinna root 605 Mar 9 10:55 /etc/ssh_host_dsa_key.pub
-rw-r--r-- 1 corinna root 529 Mar 9 10:55 /etc/ssh_host_key
-rw-r--r-- 1 corinna root 334 Mar 9 10:55 /etc/ssh_host_key.pub
-rw-r--r-- 1 corinna root 883 Mar 9 10:55 /etc/ssh_host_rsa_key
-rw-r--r-- 1 corinna root 225 Mar 9 10:55 /etc/ssh_host_rsa_key.pub
-rw-r--r-- 1 corinna root 1216 Apr 5 10:49 /etc/sshd_config
$ id
uid=100(corinna) gid=0(root)
groups=0(root),1(everyone),2(local),106(service),111(authenticated
users),513(none),545(users)
passwd entry:
corinna::100:0:Corinna
Vinschen,S-1-5-21-1644491937-764733703-1343024091-1001:/home/corinna:/bin/tcsh
group entry:
root:S-1-5-32-544:0:
Hope, that helps a bit,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:[EMAIL PROTECTED]
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple