This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: sshd can't do publickey auth with .ssh linked to /cygdrive/c/rest/of/path
Marc Bejarano wrote:
> i'm still not subscribed to this list so i would be grateful if i
> could be left on the cc: line of this thread.
....
> new error:
> Authentication refused: bad ownership or modes for directory /
>
> perms:
> drwxrwxr-x+ 10 Administ Administ 0 Feb 4 13:58 //
>
> ok. that's ridiculous. i'm not changing the owner of / just so
> it'll be more convenient to share the default key directory that scrt
> uses.
>
> the real problem is that openssh checks ownership and modes up the
> tree
> from the authorized_keys2 file until it hits your home dir. since my
> home dir is under /home, it never hits that.
How about mounting the SecureCRT keys directory to /home/you/.ssh ?
Then, as far as sshd is concerned, it _is_ under your home dir.
$ mount -b -u C:\path\to\securecrt\keys\dir /home/you/.ssh
Max.
--
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/