delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/20/06:35:47

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB45F3861031
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1608464105;
bh=vcln8ByelmIQUe1hnFevjRDJzti5X40+MQzZap6t6YM=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=plJsdUGUDvjYtR4bayCYfsS1LUInO+Xvj/bXepcXUpz1CLFMkLrLFAPioEYJ25oF/
EMYes6L9Qyp9qh/8cnp9HIROqNLdfmzpbtxq/rqflQzqMUdBfrDK2sBDkztbZHEH+8
DpP4CofLK74HadzyiZ/1hul4oAgCmF2IXBznpTPc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0F4E03851C34
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)
To: cygwin AT cygwin DOT com
Subject: [seq] Can't ssh to a Cygwin machine in the Windows domain -- seteuid
Message-ID: <e344c8f7-c5b7-8661-d2b3-c04fb66e9a60@gmail.com>
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
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
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Nicola Mingotti via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Nicola Mingotti <nmingotti AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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 AT 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 AT domus


bye
Nicola





--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019