Re: SSH Keys breaking symlink access?
- Date: Fri, 19 May 2017 17:30:23 -0400
- From: Erik Soderquist <ErikSoderquist@xxxxxxxxx>
- Subject: Re: SSH Keys breaking symlink access?
On Fri, May 19, 2017 at 3:26 PM, Dave Pierce wrote:
> I am running Cygwin-64, 2.8.0(0.309/5/3) on a Windows 2016 Server. This
> system is intended for use by a fairly wide audience of devs. We have this
> working correctly on an old Windows 2008 box running Cygwin
> The new system is intended to replace the old one. I've mimicked the
> configuration as much possible on the new system, but am running
> into an issue with passwordless (key-auth) ssh.
Did you set up the daemon and use "passwd -R"?
> I have created a windows symlink ("mklink /d /sharename [unc_path]") in
> the c:\cygwin64 directory that points to an NFS share. (This is the same
> as the old system.)
> I have OpenSSH configured and working.
> I can access "/sharename" within explorer (c:\cygwin64\sharename\)
> and locally from within the Cygwin prompt (/sharename), when
> logged in as either the service account or my own domain account.
> If I ssh into the system using password authentication, I am able to
> "ls /sharename" regardless of which account I use, in either
> interactive mode or not.
> If I copy ~/.ssh/ to the server for the service account, I can get into
> But if I copy ~/.ssh/ for my own domain account, I cannot. I get a
> "permission denied" error when attempting to cd to /sharename or
> do an ls of it. Th= is is true whether I ssh into the system
> interactively, or execute the command remotely / non-interactively.
This is expected behavior if you have not used "password -R" to
provide the network password.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple