X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D6E86395ACEB Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko AT nexgo DOT de From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: Problems with ssh when I log into my PC using my corporate domain while working from home References: <871roeyuy0 DOT fsf AT Otto DOT invalid> <49c12452-3402-54ff-57ba-f61757d99ae0 AT mehconsulting DOT com> Date: Thu, 23 Apr 2020 21:33:38 +0200 In-Reply-To: <49c12452-3402-54ff-57ba-f61757d99ae0@mehconsulting.com> (Mark Hansen's message of "Thu, 23 Apr 2020 11:10:24 -0700") Message-ID: <87h7xa5759.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-VADE-STATUS: LEGIT X-Spam-Status: No, score=-3.1 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 AT cygwin DOT 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Mark Hansen writes: > I think Windows knows who I am. I log into the machine using my normal domain login > credentials. The machine looks the way it does when I log in when the machine is in the > office - the desktop is the same, etc. - it's not acting like I'm a new user or anything > like that. That doesn't necessarily tell you anything about what happens when you try to log in via ssh (which creates a new session and requires an independent login). Again, the fact that Cygwin shows you a different user name already tells you that there is something quite different from when you are in the office. If you can strace id you might get a clue of what is going on with the queries to the AD sever in both cases (i.e. what server it asks and whether it gets an answer). > Everything on the Windows side seems to be working fine. The only issue I've found is with > Cygwin. Is there a way (short of removing and reinstalling Cygwin) that I can get Cygwin > to recognize my current user so ssh and git can know where my home directory is located? Yes, you can force a home directory via config files, but you should keep in mind that this can fail in even more mysterious ways should the environment change again. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple