Bug 3404 - Open SSH and Telnet behaving strange on windows server 2019 based on timezone of the server
Summary: Open SSH and Telnet behaving strange on windows server 2019 based on timezone...
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 7.6p1
Hardware: All Windows 10
: P5 major
Assignee: Assigned to nobody
URL: https://serverfault.com/questions/109...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-14 17:30 AEDT by Visakh
Modified: 2022-10-04 21:58 AEDT (History)
2 users (show)

See Also:


Attachments
Success (88.67 KB, image/png)
2022-03-14 17:30 AEDT, Visakh
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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