Cygwin 3.1.5, 3.1.6 and 3.1.7 builds reporting tty errors with OpenSSH Services in indows Event Logs

2020-09-14 Thread Peter Board via Cygwin
Hi, I am trying to update our Cygwin libraries at work, which we use on many servers to provide OpenSSH services. I have been making update packages for many years from a Cygwin install on a development server, and went to update our systems to the latest OpenSSH 8.3p1 build. However after mak

RE: Cygwin 3.1.5, 3.1.6 and 3.1.7 builds reporting tty errors with OpenSSH Services in indows Event Logs

2020-09-15 Thread Peter Board via Cygwin
s Event Logs On Mon, Sep 14, 2020 at 08:18:53AM +, Peter Board via Cygwin wrote: > Hi, > > I am trying to update our Cygwin libraries at work, which we use on many > servers to provide OpenSSH services. > I have been making update packages for many years from a Cygwin install on

RE: Cygwin 3.1.5, 3.1.6 and 3.1.7 builds reporting tty errors with OpenSSH Services in indows Event Logs

2020-09-17 Thread Peter Board via Cygwin
Hi Takashi, Attached is the ssh_config and sshd_config. Peter Sent from Mail for Windows 10 From: Takashi Yano Sent: Friday, 18 September 2020 10:10 AM To: cygwin@cygwin.com Cc: Peter Boar

RE: Cygwin 3.1.5, 3.1.6 and 3.1.7 builds reporting tty errors with OpenSSH Services in indows Event Logs

2020-09-22 Thread Peter Board via Cygwin
Hi Takashi, I’ve sanitised the output, replacing DOMAIN and my user name in this output F:\cygwin64\bin>ls -l /dev/*ty* crw-rw-rw- 1 my_admin_user Domain Users 5, 0 Sep 23 15:44 /dev/tty I also generated the ls output when connected via ssh, as otherwise the /dev/pty0 doesn’t exist $ ls -l /de

RE: Cygwin 3.1.5, 3.1.6 and 3.1.7 builds reporting tty errors with OpenSSH Services in indows Event Logs

2020-09-24 Thread Peter Board via Cygwin
Hi Takashi, Yesterday I tried adjusting the CYGWIN= values to do with symlink creation, but that didn’t seem to , tried lnk, native, restrictnative but the errors persisted. Peter Sent from Mail for Windows 10 From: Takashi Yano

Chrootdirectory / Chroot - not working in OpenSSH sftp directives in \etc\sshd_config or using a custom shell script - MS OpenSSH build has a workaround

2025-03-12 Thread Peter Board via Cygwin
Hi Cygwin Developers, In the source code for the session.c Cygwin is using the standard OpenSSH source code, which checks for both the user ID of 0 and a permissions for who can write to the new folder. Chroot mounting test that I can't get Cygwin to pass if (st.st_uid != 0 || (st.st_mode & 022)