X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=iKU8HCtHBWDD9lwVbRXNLJ9gcVGnQsC6UQyyJVcboRM VmK3ZvRepKxlHF7BGjXtj+dKB7nu5ZIytuva9Fojb9C9RxgrSoWx04m2pbZi/dXv awOjj4g35BHo+DsX+YEtjUbEvUOLfJvLXvtjwpeGXqItbaXVQv1JgVO7yGzOkYEQ = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=u+nRQuqp+wZhoQww/qCt4ib3lro=; b=el49lIs6jsLT9kwbg 0QqtrTSbJwK3auemlm4dDYZvDclx0msrWTZMkKzEGO4wUMMZf0liGP6wE8hZleFR eOcL4p3jpKWM2/c8mbfpH1bSFheJUqeyhuyvNB2ak5Qz3sZsaXlB3Af12ByAmN0C 8i2BxiyW5DpuVs5SJxiaSoRP4k= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=H*UA:Outlook, H*x:Outlook, H*UA:Microsoft, H*x:Microsoft X-HELO: mail2.giraudbtp.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=giraudbtp.com; h= content-language:x-mailer:content-transfer-encoding:content-type :content-type:mime-version:message-id:date:date:subject:subject :in-reply-to:references:to:from:from; s=dkim; t=1552570013; x= 1553434014; bh=9RhYVtJ8kXFcduv4ur+BO6RQOUszQ1o2LkG9Rci4wv0=; b=O d7ilniKPQOKqIrjopH8HvhzYC3Oe9B3IN6rwjQSYlEy3Xasyay0ebAkEgDjKj2oM orij6zo9f0jNSu18prZ3U7UWnmpSY88xSnGEQQfdg0cf2W3qTvZR2TlV0lqzv76z tLI3CLCW9xGLA/dTAmOOXswbTwuSE7ljRenduMQvDU= X-Amavis-Modified: Mail body modified (using disclaimer) - mail.tls.giraudbtp.com From: To: References: <011a01d4da5a$96247330$c26d5990$@giraudbtp.com> <20190314121034 DOT GG3785 AT calimero DOT vinschen DOT de> In-Reply-To: <20190314121034.GG3785@calimero.vinschen.de> Subject: RE: sshd: fatal: seteuid XXX : No such device or address Date: Thu, 14 Mar 2019 14:26:52 +0100 Message-ID: <014e01d4da69$965ee650$c31cb2f0$@giraudbtp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-IsSubscribed: yes Note-from-DJ: This may be spam Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x2EDR6ef003453 > > On Mar 14 12:39, renaud DOT rolles AT giraudbtp DOT com wrote: > > I can login via password, it work and lets me in. > > But if i tried with my keys, I get in the event viewer : > > sshd: PID 3777: fatal: seteuid 1049076: No such device or address > > - Make sure to login with the Administrator account case-sensitive. > If your account is called "Administrator", then use an uppercase > 'A' when logging in. > > This case-sensitivity issue is a temporary workaround for a > potential security problem in OpenSSH. This will be rectified > with OpenSSH 8.0 which allows to login case-insentive again. With Uppercase i do have a login prompt, but (with the good password), I cant login (remotly or localy). I also have Information event : sshd: PID 3788: Login name Administrator does not match stored username administrator sshd: PID 3788: Invalid user Administrator from 10.0.0.8 port 60876 then three : sshd: PID 3788: Failed password for invalid user Administrator from 10.0.0.8 port 60876 ssh2 > > - If that doesn't help, switch the user running the sshd service from > "cyg_server" to SYSTEM (the services GUI calls it "LocalSystem") > This worked, like a charm, thank you 😊 > Cygwin switched the logon method and this method doesn't run > under the "cyg_server" account sometimes. However, switching > back to "LocalSystem" instead of having to create a special > "cyg_server" service account is one of the advantages of the > new logon method. For details, see > > https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd1 > I didn't fully understand it all to be honest, but, is there another drawback to have the localsystem running the deamon instead of the cyg_server user, other than having the administrator possibly knowing the password ? I only use (and by only, again, thank you for that, saved me lot of time), to make rsync over ssh on windows hosts. > > Corinna > Thanks Renaud -- 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