Set up an SFTP client in Windows by using OpenSSH
- Windows 10 Pro
- Windows Server 2019
- More Windows
- 8.1p1 - Beta
※ It works in other versions, but it is unconfirmed
SFTP is a mechanism for sending and receiving files between two PCs (usually divided into clients and servers).
This standard is commonly referred to as "FTP", but FTP sends and receives the contents of the transmission and reception in plain text (unencrypted data). It may be easily read by third parties.
SFTP uses an encryption technique called "SSH" to encrypt the contents of FTP transmission and reception. It can be difficult for third parties to read.
This section describes the steps to set up SFTP client-side using the free OpenSSH.
OpenSSH clients are initially installed in Windows 10, Windows Server 2019 and later
Windows 10 has the OpenSSH client installed from the beginning, so you don't need to set it up It can be used immediately.
You can check if it is installed by following the steps below.
Open "Settings" from the Start menu.
Select Optional Features from Apps and Features.
You can be sure that the "OpenSSH" client is installed.
Other than Windows 10, future operating systems may have openSSH clients installed.
Setup in an environment where the OpenSSH client is not initially installed
The Windows version of OpenSSH is now available, so download and set it up.
Download the file from the following pages: Download "OpenSSH-Win32.zip" for 32-bit OS and "OpenSSH-Win64.zip" for 32-bit OS. You can use the latest version, but at the moment they are all Beta versions.
Log in to the PC you want to use as a client and place the downloaded and deployed files. It doesn't matter where it is, but this time I created a "C:\OpenSSH" folder and placed it there.
Register environment variables to make OpenSSH easier to work with. As described here in Windows 7, the operating instructions should be tailored to the OS version.
Right-click "Computer" from the Start menu and select "Properties".
Select Advanced System Settings.
Click the "Environment Variables" button from the "Advanced Settings" tab.
Select Path in "System Environment Variables" and click the "Edit" button.
"at the top of the variable value" Semicolon, followed by the path of the folder where the OpenSSH file was placed. Once you have entered it, close everything with the "OK" button.
This completes the client-side setup. We will continue to set up the server side, set up SFTP, and make it possible to send and receive files.