This is the mail archive of the
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 /
> 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
> the real problem is that openssh checks ownership and modes up the
> 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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html