From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14727 invoked by alias); 19 May 2017 21:30:43 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14386 invoked by uid 89); 19 May 2017 21:30:24 -0000 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 Received: from mail-wr0-f181.google.com (HELO mail-wr0-f181.google.com) (209.85.128.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 19 May 2017 21:30:22 +0000 Received: by mail-wr0-f181.google.com with SMTP id l50so23295485wrc.3 for ; Fri, 19 May 2017 14:30:25 -0700 (PDT) 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 Received: by 10.223.173.210 with HTTP; Fri, 19 May 2017 14:30:23 -0700 (PDT) In-Reply-To: <6d6087eef8f444edbe659c278f63ab43@AUSX13MPC128.AMER.DELL.COM> References: <6d6087eef8f444edbe659c278f63ab43@AUSX13MPC128.AMER.DELL.COM> From: Erik Soderquist Date: Fri, 19 May 2017 21:37:00 -0000 Message-ID: Subject: Re: SSH Keys breaking symlink access? To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00323.txt.bz2 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