Transferring data wireless over local network isn't something new, people have been doing that for a long time. You may be aware of what I'm talking about: an FTP connection. With an FTP client you can connect one device to another to transfer your data over a network.
But since the FTP protocol isn't safe in the first place you should consider ditching it in favor of something better.
For those unaware, a much better wireless transfer protocol exists and it's called SFTP. The S in SFTP, literally means secure. It encrypts the connection's login information and the data that is transferred. So nobody can tap in and tamper with the data transfer. FTP on the other hand is secure as anyone who gets to listen to the network traffic gets the information unprotected.
The good thing about SFTP is that you can use it for everything you used FTP for. So you get better security for free. What do you have to lose, right?
Now there's just one problem. Windows versions prior to Windows 10 don't come with SSH so you'll need to install OpenSSH (or something similar). This is an open source SSH implementation, and guess who recommends it? Microsoft. OpenSSH is included in Windows 10 and Windows Server 2019.
This tutorial is based on the original OpenSSH documentation. The official guide may look intimidating which is why we made one as user-friendly as possible. You can follow this method in any version of Windows, I tested in on Windows 7.
This process consists of two parts: installing OpenSSH and opening an SSH port for SFTP to work.
Note: The services are named OpenSSH Authentication Agent and OpenSSH SSH Server.
That's it, you're good to go.
Let's test if it works. You need an SFTP client to do this.. WinSCP is the one I use on Windows but you may use any other that supports SFTP, e.g. FileZilla, FTP Rush, or a file manager with SFTP support such as Altap Salamander.
Run WinSCP and select "SFTP" as the protocol. In the host name field, enter "localhost" (if you're testing the PC you installed OpenSSH on). You will need to enter your Windows username and password to allow the program to connect to the server. Hit save, and select login.
You'll see a pop-up window like the one below, which asks you if you trust the server you're trying to connect to. Since the server is your own computer, you can allow it. Basically this is the host key which authenticates the connection made by the device. You can use this to transfer content from one computer to another too.
Note: If your Windows user account does not have a password, you will need to use a public key to authenticate the SFTP server, which involves a separate process. You can create a different account on the system for SFTP access but may need to make files available outside of the user directory.
Let's use Amaze File Manager which is open source. Tap the + button, and select "Cloud connection". Choose SCP/SFTP connection and a pop-up should appear. Find your computer's IP address using command prompt, and the command IP config. For e.g. my PC has the address 192.168.1.9
Enter it in the server field, leave the port number as 22, and enter your Windows username and password in the respective fields. It should connect to your computer, and you will be able to access all the content that can be accessed by the Windows account.
One of the main advantages of the operation is that you may access or transfer files over a network easily; this is not something that all users need and there are certainly other options to achieve the same goal depending on individual needs.
Now You: Have you set up SSH in the past or use it actively?Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.