Connecting to SFTP

To set up Magic Suite apps to connect to your SFTP system:

  1. From the Admin menu, click Connections.
  2. Click the Create button.
  3. Enter the name and optionally, a description.
  4. From the Type drop-down, select a Connection type of SFTP.
  5. In the URL, enter the IP address of your SFTP server
  6. Enter the required information in the User name and Password fields (only required when you are not using key-based authentication).
  7. Optionally, check the Read Only box to ensure that under no circumstances can a user write to, or delete from, the entire SFTP location.
  8. Optionally, in the Configuration field:
    • Choose a root path (that is, a folder on the server that you want to be your root) by entering JSON configuration as below (note that the chosen path MUST have the / character at the start):

    • { "RootPath" : "/path"
      }
    • Choose a private key to use for authentication (user name and password are then NOT used). You must include the Begin/End RSA Private Key text also:

    • { "Key" : "<key goes here>" }

      As an example:
      { "Key" : "-----BEGIN RSA PRIVATE KEY-----" xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -----END RSA PRIVATE KEY-----\n"

      Note that you can combined BOTH of these items, for example:

      { "RootPath" : "/path", "Key" : "<key goes here>" }
  9. Click Save.
    In Files, you will now see your SFTP Connection as a 'drive' that can be accessed as a file system allowing upload, download, delete, rename files as you would expect.
An unhandled error has occurred. Reload 🗙