Title: Using SFTP via WP-Cli
Last modified: November 21, 2019

---

# Using SFTP via WP-Cli

 *  Resolved [markc](https://wordpress.org/support/users/markc/)
 * (@markc)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/using-sftp-via-wp-cli/)
 * So native SFTP support may take awhile to appear and in the mean time it’s suggested
   to use wp-cli. I’ve only just started testing this plugin and because it doesn’t
   use SFTP I can’t even get an idea how it’s meant to work. I’ve looked at [https://github.com/WP2Static/wp2static#wp-cli-commands](https://github.com/WP2Static/wp2static#wp-cli-commands)
   as a reference but I think I need some kind of step-by-step howto get started
   with wp-cli guide. For instance, how do I get the wp2static module loaded into
   wp-cli to avoid… “Error: ‘wp2static’ is not a registered wp command. See ‘wp 
   help’ for available commands.” ?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * (@leonstafford)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/using-sftp-via-wp-cli/#post-12157919)
 * Hi [@markc](https://wordpress.org/support/users/markc/),
 * I totally get your frustration, sorry!
 * Happy to walk you through the CLI and everyone will benefit from such a guide,
   so I’ll work on that!
 * Please reach out to me at [help@wp2static.com](https://wordpress.org/support/topic/using-sftp-via-wp-cli/help@wp2static.com?output_format=md)
   and we can walk through the process for your site, too.
 * Cheers,
 * Leon
 *  Plugin Author [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * (@leonstafford)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/using-sftp-via-wp-cli/#post-12164541)
 * Hi [@markc](https://wordpress.org/support/users/markc/),
 * Thanks for your patience with this.
 * I’ve added a little step-by-step for using the WP-CLI commands to deploy via 
   sFTP here:
 * [https://wp2static.com/developers/wp-cli/](https://wp2static.com/developers/wp-cli/)
 * Please let me know any issues that arise trying that and we’ll figure it out!
 * Cheers,
 * Leon

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using SFTP via WP-Cli’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/static-html-output-plugin_cce3eb.
   svg)
 * [WP2Static](https://wordpress.org/plugins/static-html-output-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/static-html-output-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/static-html-output-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/static-html-output-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/static-html-output-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/static-html-output-plugin/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/using-sftp-via-wp-cli/#post-12164541)
 * Status: resolved