From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vsmx011.vodafonemail.xion.oxcs.net (vsmx011.vodafonemail.xion.oxcs.net [153.92.174.89]) by sourceware.org (Postfix) with ESMTPS id C3DF0385DC0B for ; Thu, 23 Apr 2020 17:26:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C3DF0385DC0B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from vsmx003.vodafonemail.xion.oxcs.net (unknown [192.168.75.197]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id B06DE59D3EA for ; Thu, 23 Apr 2020 17:26:53 +0000 (UTC) Received: from Otto (unknown [91.47.54.202]) by mta-7-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 836D35399DD for ; Thu, 23 Apr 2020 17:26:51 +0000 (UTC) From: ASSI To: cygwin@cygwin.com Subject: Re: Problems with ssh when I log into my PC using my corporate domain while working from home References: Date: Thu, 23 Apr 2020 19:26:47 +0200 In-Reply-To: (Mark Hansen's message of "Tue, 21 Apr 2020 08:33:17 -0700") Message-ID: <871roeyuy0.fsf@Otto.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 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: Thu, 23 Apr 2020 17:26:58 -0000 Mark Hansen writes: > 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. That likely means that when you connect from home, you cannot talk to the corporate domain server or you are ion a different domain. The domain part is only shown when it isn't the primary domain IIRC and since the numerical user instead of the name is shown, that SID did not resolve. > 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. Depending on how this is set up in your domain, you might need to point either Cygwin or sshd to use a separate local directory. You have no network access on Windows (i.e. you won't be able to access any fils shares) until you've authenticated with a password. > 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. You would need to be either an admin and/or the user who installed Cygwin for that to work, but you shouldn't do that. > Is there something I can tweak to get Cygwin to understand which user I am so the ssh > stuff can start working again? If Cygwin doesn't know who you are, then that means Windows doesn't know either, so fixing this on the Cygwin side won't get you much further. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada