From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [159.69.161.202]) by sourceware.org (Postfix) with ESMTPS id EAB7F384B0C1 for ; Tue, 21 Apr 2020 15:33:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EAB7F384B0C1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=mehconsulting.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=goc-cygwin@m.gmane-mx.org Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jQutn-000GfH-Q5 for cygwin@cygwin.com; Tue, 21 Apr 2020 17:33:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com From: Mark Hansen Subject: Problems with ssh when I log into my PC using my corporate domain while working from home Date: Tue, 21 Apr 2020 08:33:17 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 X-Mozilla-News-Host: news://news.gmane.io:119 Content-Language: en-US X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, COVID_BODY, FORGED_MUA_MOZILLA, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2020 15:33:26 -0000 I have a Windows 10 laptop, on which I installed Cygwin. I always log into the machine using my corporate domain account. When I log into the machine from my office, everything Cygwin works fine. When I log into my laptop from home (which I'm working from home for a while now, due to COVID-19), I still log in using my corporate domain account, but Cygwin acts differently. Here is my user id (from the id command) when I log in from the office: uid=1293438(Mark.Hansen) gid=1049089(Domain Users) ... Here is the same when I've logged in with the machine at home: uid=1293438(MAN+User(244862)) gid=1293438 (MAN) is the domain. The actual problem I'm having is that Cygwin tools like ssh, git, etc. can't find my .ssh directory. They are looking in "/" rather than my home directory. I tried copying my .ssh directory from my home to "/" and although it was created, the files have the wrong permissions and I'm unable to change them. Is there something I can tweak to get Cygwin to understand which user I am so the ssh stuff can start working again? Thanks for any help.