public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin SSH - seteuid no such device or addresss
       [not found] <2013722925.5013875.1582454009038.ref@mail.yahoo.com>
@ 2020-02-23 10:33 ` jinsu mathew via cygwin
  2020-02-23 16:31   ` Bill Stewart
  0 siblings, 1 reply; 2+ messages in thread
From: jinsu mathew via cygwin @ 2020-02-23 10:33 UTC (permalink / raw)
  To: cygwin



I've setup Cygwin and want to ssh with domain user account on windows server 2012 R2. It works fine if I start the sshd service with "Local system account" but if I start the service with a "cygserver" local account or "domain\cygserver" then the service starts fine but when I try to ssh I see the message sshd: PID 1944: fatal: seteuid 1801: No such device or address.
ssh in verbose mode on the client shows the following:
debug1: Authentication succeeded (publickey).Connection to 10.10.10.10 closed by remote host.Connection to 10.10.10.10 closed.debug1: Exit status -1.
Some articles like https://blog.peterwurst.com/2016/09/15/ssh-server-on-windows-with-cygwin/ suggest to enable the following GPO with cygserver account in it. I tried them still the same error.
Following GPO's are enabled.Act as part of the operating systemCreate a token objectLog on as a serviceReplace a process level token
I've verified .ssh and authorized_keys permission and the user home directory exists and also passwd file has the /bin/bash shell for the user.
Any suggestion on how to resolve this issue?



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cygwin SSH - seteuid no such device or addresss
  2020-02-23 10:33 ` Cygwin SSH - seteuid no such device or addresss jinsu mathew via cygwin
@ 2020-02-23 16:31   ` Bill Stewart
  0 siblings, 0 replies; 2+ messages in thread
From: Bill Stewart @ 2020-02-23 16:31 UTC (permalink / raw)
  To: cygwin

On Sun, Feb 23, 2020 at 3:33 AM jinsu mathew wrote:

I've setup Cygwin and want to ssh with domain user account on windows
> server 2012 R2. It works fine if I start the sshd service with "Local
> system account" but if I start the service with a "cygserver" local account
> or "domain\cygserver" then the service starts fine but when I try to ssh I
> see the message sshd: PID 1944: fatal: seteuid 1801: No such device or
> address.
>

 Why do you need to start sshd with an account other than localsystem?

Bill

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-23 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2013722925.5013875.1582454009038.ref@mail.yahoo.com>
2020-02-23 10:33 ` Cygwin SSH - seteuid no such device or addresss jinsu mathew via cygwin
2020-02-23 16:31   ` Bill Stewart

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