SFTP

  1. Home
  2. Docs
  3. SFTP
  4. Add SFTP User to a Staging Site

Add SFTP User to a Staging Site

This shortcode allows you to add an SFTP user to the stagig environment of a site on your server.

To run Nodalio shortcodes on your server, please follow this guide.

Shortcode usage format:

  • sudo nodalio sftpuseradd-staging domain.com username

Shortcode reference:

  • domain.com – your site’s primary domain/subdomain.
  • username – new staging environment SFTP username.

Please note: the SFTP user that will be created will consist of the domain, the username chosen and a ‘_staging’ suffix, for example:

  • Domain: mydomain.com. Username: john.
    • SFTP username: mydomain.com-john_staging
  • Domain: test.example.com. Username: chris.
    • SFTP username: test.example.com-chris_staging

To add an SFTP user to the live environment of a site, please use the sftpuseradd shortcode.

The staging SFTP user created with this shortcode will have an auto-generated password which will be printed on-screen and sent to the server admin email. To change this password, you may use the sftpuseredit-staging shortcode.

Shortcode format in the Nodalio Dashboard:

Shortcode result in the Nodalio Dashboard:

Was this article helpful to you? Yes No

How can we help?