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: https://www.server-world.info/en/note?os=Windows_Server_2022&p=ssh&f=1

  • 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