This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: can't get sshd to new Windows 2012 R2 Server to work
- From: Warren Young <wyml at etr-usa dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Wed, 16 Mar 2016 11:54:00 -0600
- Subject: Re: can't get sshd to new Windows 2012 R2 Server to work
- Authentication-results: sourceware.org; auth=none
- References: <8326 dot 1458081313 at freon dot franz dot com>
On Mar 15, 2016, at 4:35 PM, Kevin Layer <layer@franz.com> wrote:
>
> Cygwin Configuration Diagnostics
Next time, please *attach* this, donât paste it inline.
(Thatâs not my idiosyncratic preference, itâs part of the instructions: https://cygwin.com/problems.html)
> Running in Terminal Service session
You say you disabled the firewall on the machine youâre working with, but have you disabled the firewall on the TS host, too?
Truncated SSH sessions feel like some sort of security thingy to me.
> Output from C:\cygwin\bin\id.exe
> UID: 1049579(layer) GID: 1049089(Domain Users)
> 1049089(Domain Users) 559(Performance Log Users)
> 545(Users) 14(REMOTE INTERACTIVE LOGON)
> 4(INTERACTIVE) 11(Authenticated Users)
> 15(This Organization) 4095(CurrentSession)
> 66048(LOCAL) 1054502(domcon2 $ Acronis Remote Users)
> 1055482(CERTSVC_DCOM_ACCESS) 401408(Medium Mandatory Level)
I donât see 544 in there, so this must not be an admin shell. I believe you need to run ssh-host-config as admin for it to do its work correctly. Without those privileges, it canât set sshd up to run as admin but drop privileges to the logged-in user when accepting connections.
--
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