SSH Now Available for Business and eCommerce Sites

Are you a WordPress.com power user? You can now enable SSH and access your Business or eCommerce-powered WordPress.com site from the command line.

Are you a WordPress.com power user? For ultimate security, you can now enable SSH and access your Business or eCommerce-powered WordPress.com site from the command line. Use WP-CLI to install and activate a series of plugins, manage users, or handle search-and-replace functions across your site.

Enable SSH on WordPress.com

To enable SSH on your WordPress.com site, you’ll need to have an active Business or eCommerce plan.

Head to My Site > Settings > Hosting Configuration to enable SSH access on your site under SFTP/SSH Credentials. You may need to activate hosting access to create SFTP credentials. Once you’ve generated an SFTP user and password, you can toggle on SSH access for your site.

With SSH, you have the power of the command line at your fingertips. You can:

  • Manage your site’s users and content using WP-CLI commands
  • Import and export your site’s content
  • Connect your favorite IDE over SSH
  • Automate repetitive tasks using simple scripts
  • Troubleshoot errors using the PHP error log
  • And more!

Detailed instructions are available on how to enable SSH for your Business and eCommerce WordPress.com websites.

Use WP-CLI on WordPress.com

WP-CLI is WordPress’ command line interface. Once you SSH into your WordPress.com site, the included commands let you install plugins, add users, or run a search-and-replace against the database. If you are comfortable writing PHP, you can even create your own custom commands for special operations.

For example, the command to delete a comment is `wp comment delete`. Deleting a comment using WP-CLI can look like this:


$ wp comment delete 1337 --force
Success: Deleted comment 1337.

Similarly, `wp export` is a command to export your site’s content to a WXR file. Exporting your site content at the command line might look like this:


$ wp export
Starting export process...
Writing to file /tmp/staging.wordpress.2016-05-24.000.xml
Success: All done with export.

Ready to dive in? Check out our support documentation about how to use WP-CLI on WordPress.com.

Build Your Next Site on WordPress.com

SSH access is one of a series of new tools we’re releasing for those building sites on WordPress.com. Our goal is to make WordPress.com an enjoyable, indispensable part of your workflow.

What else would you like to see in your terminal? How could we make WordPress.com an even more powerful place to build a website? Feel free to leave a comment, or submit your ideas using our short feature request form.



Missing out on the latest WordPress.com developments? Enter your email below to receive future announcements direct to your inbox. An email confirmation will be sent before you will start receiving notifications - please check your spam folder if you don't receive this.

Join 94,404,715 other followers

5 Comments

  1. lexarate

    Awesome to see, I currently use SSH to manage my SSL cert renewing and other simple aspects to my site, content management has always been done though either the dash or something like Filezilla

    Liked by 3 people

  2. Michael Brooks | Website Developer/Blogger

    This is a great addition! I hope SSH keys get added soon as well.

    Liked by 7 people

  3. deepanilamani

    I have two websites. One is Premium and the other Personal. So, I don’t need any business packages. Good for those doing business!

    Liked by 7 people

  4. sushantac

    Thanks mam.

    Liked by 3 people

Please do not use these comments for asking questions, support, or bug reporting. Use the forums or support contact form for that.

Please read our comment guidelines before posting.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create your new blog or website for free

Get Started

%d bloggers like this: