Copy of Configure OpenSSH in Windows Server Endpoint
OpenSSH setup
Windows Server 2019 onwards OpenSSH is already installed but the feature is not enabled by default.
Navigate to Settings > Apps > Apps & features > Optional features and click on Add a feature. Locate “OpenSSH server” feature, expand it, and select Install.
Ref: Windows Server 2022 : OpenSSH : Configure SSH Server : Server World
Once installed you have to enable the service as well through services. Preferably make the service Automatic to avoid future manual interventions.
Now you should be able to telnet Windows Server on port 22 from outside as well.
In case you are still unable to connect, preferably check if the port is enabled for connecting from external systems. There could be any firewall/security related issue as well.
The following macros are not currently supported in the footer:
- style