From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id 0F4E03851C34 for ; Sun, 20 Dec 2020 11:35:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0F4E03851C34 Received: by mail-wm1-x32a.google.com with SMTP id q75so7923790wme.2 for ; Sun, 20 Dec 2020 03:35:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:message-id:date:user-agent :mime-version:content-language; bh=WHp9xl2qpOHO0mcAR9wrY0jaT47XZrIk05XPveZOucs=; b=RGhwhe0v52nK+5POiDpQ6FxnSVj0lpM87VeJA7FmCmcCF9tHN32roq46V6C6DcVPtJ uRZHsjNzxmA/omJO6l0YQx8kIfEkQdCd638Xu+kRZ/2ViQ2ylBhlFLC3J3geicFqwMMF 82onQjbYN6S3mUmXSQDTHlnJaTBoGV2vNLQxq/66biAZZnYHOaiGDgIYWyd0XL6JVlJe hEQCj048wZb2cmPS05hryHSrPNgvZ2VMdHYrFB3jqgt803FFpBvm6euLhiYHpSUHC52A FLV8fx4A6rFHMTZEGEPJ4xf2KeDrqYfSlqt4fiqudOkh9Jq0Zp5/6gzk1XqfR7T5+/CB FCNw== X-Gm-Message-State: AOAM532TesIVJrVOcbbX0SBhSS0yAuGRo6Otv4Qg0/mVEsa0juKvXXQ6 VulobTnNoBHA0k3LMaUAnG0= X-Google-Smtp-Source: ABdhPJxkmZo7kXlf6q5qGovaiipkHH7snH5RjTS37UP993h4mkgAaITk+kZG35sEztB2HY9wP+tJxw== X-Received: by 2002:a7b:ca47:: with SMTP id m7mr11641922wml.153.1608464100134; Sun, 20 Dec 2020 03:35:00 -0800 (PST) Received: from [172.16.3.50] (net-188-219-105-237.cust.vodafonedsl.it. [188.219.105.237]) by smtp.gmail.com with ESMTPSA id o7sm22036150wrw.62.2020.12.20.03.34.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Dec 2020 03:34:59 -0800 (PST) From: Nicola Mingotti To: cygwin@cygwin.com Subject: [seq] Can't ssh to a Cygwin machine in the Windows domain -- seteuid Message-ID: Date: Sun, 20 Dec 2020 12:34:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 Content-Language: en-US X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, 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 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sun, 20 Dec 2020 11:35:02 -0000 This is a sequel to the message: "Can't ssh to a Cygwin machine in the Windows domain -- seteuid" Sent 20 Dec 2020 to the mailing list. I was not subscribed, I found no other way to replay the message than to subscribe and make a 'sequel'. sorry for this. For quick reference, the original message is here: https://cygwin.com/pipermail/cygwin/2020-December/247089.html *] To Kevin I tried : $> ssh WINDM+nicola But that does not solve, in this case the user is not recognized. ------- sshd output ------------ ... debug3: mm_answer_authpassword: sending result 0 debug3: mm_request_send entering: type 13 Failed password for invalid user WINDOM+nicola from 172.16.3.50 port 54596 ssh2 debug3: mm_auth_password: user not authenticated [preauth] debug3: user_specific_delay: user specific delay 0.000ms [preauth] debug3: ensure_minimum_time_since: elapsed 53.119ms, delaying 17.592ms (requested 8.839ms) [preauth] debug3: userauth_finish: failure partial=0 next methods="publickey,password,keyboard-interactive" [preauth] debug3: send packet: type 51 [preauth] ------------------------------------ Supplementary information: *] Forcing user/password authentication does not work $> ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no nicola@domus ---- sshd output ---- debug1: session_input_channel_req: session 0 req pty-req debug1: Allocating pty. debug1: session_pty_req: session 0 alloc /dev/pty2 debug1: Ignoring unsupported tty mode opcode 52 (0x34) debug1: Ignoring unsupported tty mode opcode 62 (0x3e) debug1: pty_setowner: no tty group chown(/dev/pty2, 1049679, 1049089) failed: Permission denied debug1: do_cleanup debug1: session_pty_cleanup2: session 0 release /dev/pty2 -------------------------------------- *] The only thing that works is logging in as the 'cyg_server' user. But that defies the whole purpose to define such user. $> ssh cyg_server@domus bye Nicola