X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=lDRQZxB akXTJLiRQbGGRo4Fw5VgmweFJgW8KH8pG/TrwTqjmQfvlBYc7RxDPyW/2l23PVXv Q2rXAKOh0cm+vZmS2lAeNX5A6rixFmAGBMdXtbTJnZFVtM/HH0NwdnLi8LkeK6kU KtVQ5Vq1ZFCi7zLzmY063LrOEVUwmcxcPs9U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=1WnCXN7yU+BqH bFOrmDG73lKrXw=; b=PVzXRuaL9p4ku3b2SyjJ0nnE8vDyZsaMTRh7dNa/iWOaI Li1eaJPBt1WZ7xnbcb/KDPAm6ZWQASbvtHEMZc7PvL7TAeDziXn2lh6aI4mM+ues T4YbIe1EEEua1wy/LcHJ7yffX5anIB6+Pk9eZiYuWorBHo+Hx60D5oko+EFO/g= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=pierce, Pierce, Hx-languages-length:1616, audience X-HELO: mail-wr0-f181.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=uQW27e+euLASFrzWT5uSAAMBoSEgndeVK4HzB52c3pI=; b=N1rSyau/0uCWB/DDPlvsEQTSb27ZssxBQtU0gTzzNsk2mjxF2JEH0B/a8Fy6yzkQH7 duLtB+HcknUyJnv2hMTyIsvS3+vF77FntGcgQ0N4nghregVxxotXQ0NOoZM0QeWsEIkN MP2pP3PkUSzm90Qds8ygPsw6ZO8bRFvEw2M/zmrhQ9CtgrYjHu2PVjfca+kAEijwMEmb DeH0WQuAP0bRcBRB7/1syk0+ZaPNqyxAyEA+nK91F5+1/eiI/wcOCQhx70z0+3hu56x/ 3N0Xuz6HanRlkX2KrIPIJrcH5xclsnvm44eenSMjmp5LZDFAuDfdObXeAE8rdqw8Td76 Ltlg== X-Gm-Message-State: AODbwcAksIOdmrPcx5ZsWYK8U8be0pGKAdRpHW01CtUC7ofRLf4SWJ4R 3WuSHPDHXrzc1hBa9MEvj9V1mhgSluLr X-Received: by 10.223.128.34 with SMTP id 31mr4472794wrk.108.1495229423985; Fri, 19 May 2017 14:30:23 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <6d6087eef8f444edbe659c278f63ab43@AUSX13MPC128.AMER.DELL.COM> References: <6d6087eef8f444edbe659c278f63ab43 AT AUSX13MPC128 DOT AMER DOT DELL DOT COM> From: Erik Soderquist Date: Fri, 19 May 2017 17:30:23 -0400 Message-ID: Subject: Re: SSH Keys breaking symlink access? To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Fri, May 19, 2017 at 3:26 PM, Dave Pierce wrote: > Hello! > > 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 > 1.7.9(0.237/5/3). > 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 > /sharename. > > 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. -- Erik -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple