Using SSH and SFTP
MODX Cloud provides access to SFTP (SSH File Transfer Protocol) and SSH (Secure Shell) (on paid plans) for more advanced functions on your Cloud instances.
SSH is a way to connect to your MODX Cloud server using a Secure Shell client such as Terminal on Mac/Unix or PuTTY, or similar, on Windows. These clients allow you to run advanced commands and applications such as curl, tar, crontab and mysql.
SFTP is a secure method to connect to your MODX Cloud server to manage and upload files and other assets such as images using an FTP Client such as FileZilla on Mac/Linux or Windows or Cyberduck (Mac/Windows). There is also a FireFTP Client for the Firefox Browser. Some web development tools such as Adobe Dreamweaver, SublimeText, Atom and PHP Storm also include or have FTP Client capabilities.
Before Using SSH and SFTP
In order to use SSH and SFTP, you'll first need to configure one of the two methods for using SSH Keypairs with MODX Cloud: Use SSH Keys to Access Clouds or SSH & SFTP using SSH Keypairs.
Getting Connected
The SSH/SFTP information for each of your Clouds is located in the SSH/SFTP section at the bottom of the Cloud Edit page.
- From the Clouds page, locate the Cloud for which you wish find the SSH/SFTP information for. Click on the actions cog at the right on the display grid and click Edit.
- At the Cloud Edit page, scroll to the bottom, past the General Information section to the SSH/SFTP information.
- Open your (S)FTP client of choice for SFTP connections or your favorite command-line tool to connect via SSH. Each of these tools will give you options for connecting to a server.
-
For SSH clients such as Terminal without connection wizards, you'll enter the information as shown below.
$ ssh c0001@abcdef123.modx.dev
Having Trouble Connecting Via SSH or SFTP?
If you're having issues connecting to your MODX Cloud site via SSH, see our document on Troubleshooting SSH and SFTP Connections.