Brifing

Managing Windows PCs Remotely Using Built-in OpenSSH Server

Unlock seamless remote terminal access for your Windows machines using native OpenSSH features.

XDA Developers2 min

1Hidden Windows SSH Capability

Windows includes a native OpenSSH server as an optional feature, often overlooked by average users. While many rely on graphical remote desktop tools, this built-in server allows command-line access to Windows PCs. It functions similarly to Linux-based SSH, enabling users to manage multiple machines from a single terminal interface seamlessly.

2Installation and Setup Process

To enable this functionality, navigate to the Windows Settings menu and select Optional features. Locate the OpenSSH Server option, check the box, and proceed with the installation. Once installed, you must configure the Windows Firewall to permit incoming connections, ensuring that your system remains accessible for remote terminal sessions thereafter.

3Protocol Agnostic Remote Control

SSH is a universal protocol, meaning the client software does not dictate the connection's success. You can control Windows machines from Linux systems, Android devices, or other Windows PCs using tools like Termius. This cross-platform compatibility eliminates the need for specific proprietary software, making it ideal for managing diverse home networks.

4Command Line Power Efficiency

Once connected via SSH, you gain full access to PowerShell and CMD cmdlets. This allows you to view active processes, modify network settings, or perform system reboots remotely. It is particularly useful for lazy management, such as shutting down a computer from another floor using a simple command on your phone.

5Managing WSL and Containers

The OpenSSH server is highly effective for managing Windows Subsystem for Linux (WSL) environments. By SSHing into the host Windows PC, you can manage Docker containers, such as Paperless-ngx, without interrupting local users. This method provides deeper system-level troubleshooting capabilities compared to connecting directly to the WSL instance itself.

6Overcoming Windows Edition Limitations

Unlike the traditional Remote Desktop Protocol (RDP), which often restricts hosting capabilities to Windows Pro editions, the OpenSSH server is available across all versions. It imposes no artificial feature gating based on your license type. This makes it a superior, free alternative for users running Windows Home who require remote access.

7Advanced Remote Network Access

While local network management is straightforward, accessing these systems outside your home network requires additional tools. Installing Tailscale on the host machine provides a secure way to bridge your remote connection. This setup ensures that your Windows PCs remain accessible from anywhere, mirroring the flexibility found in professional Linux server environments.

8Terminal-Centric System Administration

Transitioning to a terminal-based workflow offers significant advantages for power users and server enthusiasts. By leveraging native OpenSSH, Windows PCs can be integrated into existing server management routines alongside Linux machines. This approach prioritizes efficiency and control, proving that the command line remains a vital tool for modern computing tasks.

Original article: XDA Developers — Managing Windows PCs Remotely Using Built-in OpenSSH Server