Next, change to the OpenSSH directory: cd 'C:\Program Files\OpenSSH-Win64' You should see the following output: SUCCESS: Specified value was saved. Modify the Path system environment variable by running the command: setx PATH '$env:path C:\Program Files\OpenSSH-Win64' -m Next, search for and right-click Powershell to Run as administrator: Uncomment Port 22 and change it to your desired port, then save the file: Optional: To change the default SSH port to something other than 22, select the sshd_config_default file in the OpenSSH folder and open with a text editor: Locate the downloaded file, right-click it, and Extract All to C:\Program Files\OpenSSH-Win64. Start by accessing your server via RDP (from Mac), and download the latest release of OpenSSH ( OpenSSH-Win64.zip).
It would be best if you were prepared to log in to your Hostwinds Windows Server to continue with this guide. This guide will explain the steps to install and configure OpenSSH in Windows Server 2016. Aside from SCP and SFTP, you can open a secure Powershell shell or a Bash shell if Windows Subsystem for Linux (WSL) is enabled on your Windows server.īy default, you will enter into a Windows CMD shell when you connect to the server using SSH. Running SSH on your Windows server means that you can transfer files using Secure Copy (SCP) or SFTP. You might find it useful to install OpenSSH on your Windows server.