Remotely access files or execute commands
Setting up Raspberry Pi for SFTP/SSH file transfer
You’ve taken the plunge and purchased a Raspberry Pi. Congratulations! If you don’t have a keyboard and monitor connected to your Pi, you’ll need to connect to it remotely from another computer on your network. Additionally, depending on how you plan to use your Pi, it may be in a hard-to-reach place. So even if you have a keyboard and monitor connected now, that may not always be the case. You’ll need a way to connect to your Pi remotely.
In this article, we'll show you how to use SSH and SFTP on your Pi, how to run commands, and how to transfer files. We'll assume your Raspberry Pi is on the same network as the computer you're using to connect to it.
SSH stands for Secure Shell. It’s a standard network protocol that gives you a secure way to pass text back and forth between your Pi and the computer you’re using to remotely connect to your Pi. You use the SSH protocol to do all sorts of things, like entering your password to log into your Pi and executing commands.