This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: sshd: server refused our key


Please keep all replies on the cygwin mailing
list.  This helps you because more people are
able to diagnose your problem.  It helps
others because they are able to search the
mailing list archives for useful information.

1. In your reply below, you list the following
for your home directory:

> drwxr-xr-x  138 mk       group         24576 Nov 20 11:48 .

Try:
  chmod 750 ~
  chgrp SYSTEM ~

2. And for your ~/.ssh directory:

> drwxr-xr-x    2 mk       group          4096 Nov 19 13:44 .ssh

Try:
  chmod 700 ~/.ssh

Please change both ~ and ~/.ssh.  It is not enough to only
change one.

If these changes do not fix your problem, then please
include the output of the 'mount' command in your
reply.

> -----Original Message-----
> From: Manfred Köhler [mailto:manfredwkoehler@web.de]
> Sent: Wednesday, November 20, 2002 5:58 AM
> To: Harig, Mark A.
> Subject: Re: RE: sshd: server refused our key
> 
> 
> "Harig, Mark A." <maharig@idirect.net> schrieb am 19.11.02 17:11:23:
> > As requested at http://cygwin.com/bugs.html:
> > 
> > o Please describe how to reproduce the problem,
> >   including a test case, if possible.
> > 
> > In your case, please list the commands that you ran
> > to set up sshd on your Cygwin machine.
> ssh-host-config -y
> ...set cygwin to defaults
> chmod 755 /var/empty
> mkgroup -l -d domain>/etc/group
> mkpasswd -l -d domain>/etc/passwd
> > 
> > o Please include at least the version number of the
> >   Cygwin release you are using along with the 
> >   operating system name and its version number,
> >   for example, "cygwin v1.3.13 under NT 4.0".
> Please refer attached file.
> > 
> > o Most of the information about your Cygwin environment
> >   is listed by running 'cygcheck -s -v -r > cygcheck.txt'.
> >   Please include cygcheck.txt *AS AN ATTACHMENT* to your
> >   report.  It is important that you include it as an
> >   attachment so that searches of the mailing-list archives
> >   give fewer false matches.
> Please refer attached file
> > 
> > Some things to check (that is, email back to this mailing list):
> > 
> >    The permissions and ownership of:
> >        - your home directory
> drwxr-xr-x  138 mk       group         24576 Nov 20 11:48 .
> >        - your home/.ssh directory
> drwxr-xr-x    2 mk       group          4096 Nov 19 13:44 .ssh
> >        - your home/.ssh files
> seen on UNIX:
> -rw-r--r--    1 mk       group         545 Nov 20 08:48 
> authorized_keys
> -rw-r--r--    1 mk       group         546 Nov 20 08:48 
> authorized_keys2
> -rw-------    1 mk       group         887 Nov 19 13:44 id_rsa
> -rw-r--r--    1 mk       group         218 Nov 19 13:44 id_rsa.pub
> -rw-------    1 mk       group         523 Nov 19 13:44 identity
> -rw-r--r--    1 mk       group         327 Nov 19 13:44 identity.pub
> -rw-r--r--    1 mk       group        1442 Nov 20 11:50 known_hosts
> -rw-------    1 mk       group         512 Nov 20 11:50 random_seed
> seen inside ssh session:
> -rw-r--r--    1 mk       Domain U      545 Nov 20 08:48 
> authorized_keys
> -rw-r--r--    1 mk       Domain U      546 Nov 20 08:48 
> authorized_keys2
> -rw-r--r--    1 mk       Domain U      887 Nov 19 13:44 id_rsa
> -rw-r--r--    1 mk       Domain U      218 Nov 19 13:44 id_rsa.pub
> -rw-r--r--    1 mk       Domain U      523 Nov 19 13:44 identity
> -rw-r--r--    1 mk       Domain U      327 Nov 19 13:44 identity.pub
> -rw-r--r--    1 mk       Domain U     1442 Nov 20 11:50 known_hosts
> -rw-r--r--    1 mk       Domain U      512 Nov 20 11:52 random_seed
> 
> I do not know why private files become readable for everyone. 
> There is also a samba server
> running to mount files on Windows.
> 
> Hopefully these informations will help you to solve the problem.
> 

Attachment: cygcheck.txt
Description: cygcheck.txt

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]