When we want to download/upload files and folders to our Serious WordPress site we should use SFTP (it's stronger than FTP), or SSH File transfer Protocol, to securely access our System Users' sites' directories.
Want to watch this process? Here you go:
Step 1. Ensure you have an Active System User added to GridPane
You will need to have both added a System User to GridPane and deployed sites as that System User. The System user home directory will be the only directory on the server that you will have access to.
Step 2. Configure your SFTP client for System User access.
Open your SFTP client and add a new server connection. There are a variety of different and fantastic SFTP Clients for you to choose from, including cross-platform clients such as FileZilla, or the highly recommended Transmit 5 for macOS.
Different SFTP Clients have different interfaces, they are usually very similar but may feature slightly different terminology. Generally, you will need select the SFTP protocol, input your server IP address, add your User name, you might need to select your logon type, and you will either need to select the private SSH key that pairs with your System User public SSH Key or your System User Password. Let us look at the two previously mentioned SFTP clients as examples.
Transmit SFTP Client Connection configuration - SSH Key & Password Log in
Choose SFTP as the protocol, add your server IP in the Server input box, add your username in the User Name input, and either click the key icon to select your private SSH key from your computer directory or enter your password, before clicking connect. The port is optional but defaults to 22.
FileZilla SFTP Client Connection Configuration - SSH Key Log in
Choose SFTP as the protocol, then here we see that the server IP input is called Host, you need to set Key File as the Logon Type, enter your username in the User input, and then select your private SSH Key from your computer directory by clicking browse, before clicking Connect. The port is optional but defaults to 22.
FileZilla SFTP Client Connection Configuration - Password Log in
Choose SFTP as the protocol, then here we see that the server IP input is called Host, you need to set Normal as the Logon Type, enter your System User username in the User input, and your System User password, before clicking Connect. The port is optional but defaults to 22.
Step 3. Manage your System User owned WordPress Directories
As a System User you will have full access to your System Users' home directory on the GridPane server. In this directory you will find all this user's active sites and their associated staging and update sites.
Your System Users have sandboxed access to the servers so they may edit and manipulate their associated WordPress sites freely, but they are unable to affect any of other System User's WordPress installations on the same server.