On Thu, 18 Aug 2005, Andrew DeFaria wrote:

> Christopher Benson-Manica wrote:
>
> > > > How does one set permissions on id_rsa in such a way as to make ssh
> > > > happy? Nothing I have done has made chmod 700 id_rsa actually work.
> > >
> > > chmod 600 has always worked fine for me.
> >
> > [09:39:[EMAIL PROTECTED]:~/.ssh]> ls -l id_rsa
> > -rw-r--r-- 1 cbenson mkpasswd 887 Aug 17 15:54 id_rsa
> > [09:40:[EMAIL PROTECTED]:~/.ssh]> chmod 600 id_rsa
> > [09:40:[EMAIL PROTECTED]:~/.ssh]> ls -l id_rsa
> > -rw-r--r-- 1 cbenson mkpasswd 887 Aug 17 15:54 id_rsa
> >
> > Pretty annoying stuff...
> >
> > > We will probably need more information: Output of "cygcheck -svr" and
> >
> > See cygcheck.log, attached.
> >
> > > "ls -ld / /home ~ ~/.ssh ~/.ssh/id_rsa" would be a good start.
> >
> > [09:41:[EMAIL PROTECTED]:~/.ssh]> ls -ld / /home ~ ~/.ssh
> > ~/.ssh/id_rsa
> > ls: /home: No such file or directory
> > drwxrwxrwx+ 15 cbenson mkpasswd 0 Aug 17 16:05 /
> > drwxr-xr-x 1 cbenson mkpasswd 65536 Aug 17 17:12 /cygdrive/h
> > drwxr-xr-x 1 cbenson mkpasswd 4096 Aug 17 16:04 /cygdrive/h/.ssh
> > -rw-r--r-- 1 cbenson mkpasswd 887 Aug 17 15:54 /cygdrive/h/.ssh/id_rsa
>
> It appears as if your home directory is on the H drive and this is
> mounted from another system. Thus CYGWIN=ntsec does not apply because
> this is a share mounted using SMB. Thus, as I said before, you need to
> set CYGWIN=smbntsec and try again.

This would also produce a chicken-and-egg problem for the OP: if the share
requires authentication, id_rsa won't be accessible until the user types
in a password, thus preventing any hope of public key authentication.
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to