

But that doesn't mean you must use SSH when you're moving files around remotely. SFTP is a better option for transferring files from or to locations outside of your home. SFTP is not necessary for a home server unless you're concerned that someone has access to your Wi-Fi network and is snooping on your traffic. SFTP is a different method of transferring data using the same technology as SSH. Despite the similarity in name, SFTP does not refer to using FTP over SSH, which is a complicated affair.

This is a way of transferring files over an encrypted connection. That's where SFTP comes in, otherwise known as the SSH File Transfer Protocol or Secure File Transfer Protocol.

On its own, SSH is not a file transfer protocol. If you want to run commands on a server, whether it lives in your basement or on a server farm thousands of miles away, you can turn to SSH to get the job done. It is a method of connecting to and managing a remote machine.
