public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Nicola Mingotti <nmingotti@gmail.com>
To: cygwin@cygwin.com
Subject: [seq] Can't ssh to a Cygwin machine in the Windows domain -- seteuid
Date: Sun, 20 Dec 2020 12:34:58 +0100	[thread overview]
Message-ID: <e344c8f7-c5b7-8661-d2b3-c04fb66e9a60@gmail.com> (raw)


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






                 reply	other threads:[~2020-12-20 11:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e344c8f7-c5b7-8661-d2b3-c04fb66e9a60@gmail.com \
    --to=nmingotti@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).