
I also recommend running the following PowerShell commands on the server to install the Nano text editor, which allows you to edit text files through an SSH session. Install-Module -Force OpenSSHUtils -Scope AllUsers If you’re intending to use key based, rather than password based, authentication, you should also run the following command on the server to install an OpenSSH related PowerShell module that includes tools to help you configure that functionality: Once you’ve added the capability, you need to do a few things to get the SSH server working before you’re ready to go. This is also useful if the server will function a jump box. I have found it useful to add both client and server capability to Windows Server. To add an SSH client and SSH server to Windows Server 2019, use the following PowerShell commands:Īdd-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 To get an SSH client onto Windows 10 or Windows Server 2019, without using 3 rd party software or installing Windows Subsystem for Linux, use the PowerShell command:Īdd-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 Now that it’s available and easy to configure on Windows Server 2019, I find myself using SSH, rather than other remote connection methods, as my default method of remotely connecting to servers, be they proximate or running in Azure. Because most of us work with heterogenous systems, we are familiar with SSH’ing into a server or device to perform admin tasks.

Windows Server 2019 and the most recent version of Windows 10 include the ability to install both an SSH client and an SSH server. I’ve lost count of the number of times that I’ve seen experienced admins RDP across to a box running Windows Server so that they can interact with the operating system through a command prompt. While I’ve never had a problem with PowerShell remoting for remote command line interaction with Windows Server, I’ve often found that it isn’t something that many systems administrators, especially those that work in heterogeneous environments, are entirely at ease with.
