Bug 3404

Summary: Open SSH and Telnet behaving strange on windows server 2019 based on timezone of the server
Product: Portable OpenSSH Reporter: Visakh <vanjaneya>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: major CC: djm, dtucker
Priority: P5    
Version: 7.6p1   
Hardware: All   
OS: Windows 10   
URL: https://serverfault.com/questions/1095855/open-ssh-and-telnet-behaving-strange-on-windows-server-2019-based-on-timezone-of
Attachments:
Description Flags
Success none

Description Visakh 2022-03-14 17:30:12 AEDT
Created attachment 3580 [details]
Success

I have a strange issue when I connect SSH from one of my machines to a windows server 2019 I use OpenSSH in the windows server and the client has a private key to connect to the server it works fine if server time zone is UTC + (eg: Indian timezone) and not work if the server time zone is UTC - (eg: USA timezones)

I use bellow Plink command

plink.exe -v workflow -P 22 -l administrator -N -i "C:\Program Files\RDC\private.ppk" -R 3391:127.0.0.1:3389

and it gives bellow out put when it is UTC + time zones
Successfully connecting 

and when it is just change to UTC - time zone bellow error am getting a failure
Comment 1 Darren Tucker 2022-03-15 14:26:55 AEDT
The OpenSSH team does not supply Windows binaries.  Where did you get the binaries?  From the debug output in the URL the path ("C:\\Program Files\\OpenSSH") makes me think it's the Microsoft fork of OpenSSH.  If that's the case it's a modified version of OpenSSH you need to report the problem to Microsoft.
Comment 2 Damien Miller 2022-10-04 21:58:01 AEDT
Closing bugs from OpenSSH 9.1 release cycle