Sulat.com / Writing on AIThursday, December 3, 2026
Enter →
Developer Tools/3 December 2026

WordPress Studio can now push and pull to any host over SSH

Studio 2.5.0 adds SSH push and pull in beta. I ran both against a Linux server with only PHP and a database on it, and they worked.

3D WordPress logo linked by a glowing cable to a server, with a padlock, key and two-way arrow
Illustration: Sulat, featuring the WordPress logo

At a glance

  • Studio 2.5.0 adds SSH as a hosting provider, labelled beta, so push and pull no longer stop at WordPress.com and Pressable.
  • The server needs key-based SSH, PHP and a POSIX shell. Studio uploads its own WP-CLI and doesn't need rsync, tar, gzip or a MySQL client.
  • A push builds new database tables beside the live ones and swaps them in with one RENAME TABLE, after backing up the old tables on the server.
  • I pushed and pulled a test site in both directions, including on a server with tar, gzip and the MySQL tools hidden. The server's users, URLs and wp-config.php stayed as they were.
  • Multisite isn't supported, a pull can't pick individual files, and Studio can't restore the pre-push backup for you yet.

WordPress Studio 2.5.0 can push a local site to any server you reach over SSH, and pull one back down. Riad Benguella, who writes code at Automattic and contributes to WordPress, announced it on X as a rumour that leaked because Studio is open source. The SSH option is labelled beta.

Riad Benguella announcing SSH push and pull in Studio 2.5.0.

Until this release, Studio’s push and pull went to WordPress.com and Pressable, plus a static copy on Spacefast. Anyone hosting somewhere else exported a backup and imported it by hand. A feature request for pushing to any host over SFTP or SSH was posted to Studio’s repository in October 2025. I installed 2.5.0 and ran the new path against a Linux server of my own.

What changed in 2.5.0

SSH now sits beside WordPress.com and Spacefast under Settings, Providers, Hosting providers. It doesn’t connect an account. You connect each site from the Publish panel or from Add site, then Connect, and pick a host from your ~/.ssh/config. A host you add inside Studio is written to ~/.ssh/studio_config, which your main SSH config includes, so the same alias works in a terminal. Studio runs the system OpenSSH client and stores no password or key. A new host key is accepted on first connection, and a changed key is refused afterwards.

A push can send everything, or only the database, plugins, themes, uploads or chosen files. A pull replaces the entire site, files only, or content and settings only. The same thing works from the CLI with --remote-site ssh:<user@host:/path> or a host alias.

The release also fixes SSH sync on WordPress.com and Pressable hosts. Those keep WordPress core in a folder of its own and link many plugins and themes in from shared folders, so a pull now brings those plugins and themes down as real folders and a push leaves the host’s links alone. The same release adds custom skills, replies to earlier chat messages and Google Antigravity support in the Studio plugin.

The pull request that added SSH, merged on 24 November, says the author ran it end to end against a real Debian server with sshd, MariaDB and PHP, and again with everything but PHP hidden. Its commits carry a Claude Opus 5.5 co-author line. A follow-up pull request says Claude Code worked out how WordPress.com and Pressable lay out a site by inspecting a staging site over SSH, and that the author reviewed the diff.

What the server needs

Key-based SSH access, PHP and a POSIX shell. If ssh yourhost logs in from a terminal without asking for a password, and keys with a passphrase are loaded in ssh-agent, the access side is done. On your own computer you need an OpenSSH client, which Windows ships as an optional feature.

Studio doesn’t rely on anything else being installed. It uploads the WP-CLI it bundles to ~/.studio-sync/ once per Studio version, so every server behaves the same whatever its host installed. Without tar or gzip, PHP reads and writes the archives. Without mysqldump or the mysql client, tables move through WordPress’s own database connection. There’s no rsync dependency, which is why it works with Windows’ built-in client.

Server needs key-based SSH, PHP and a POSIX shell; WP-CLI, rsync, tar, gzip and mysqldump are not needed
The server needs SSH keys and PHP, and little else.

How a push treats the live site

A push backs up the tables it is about to replace, imports the new ones into staging tables, rewrites URLs there while the live site keeps serving, then swaps everything in with one RENAME TABLE. A failure before the swap leaves the live database as it was. Each pushed plugin and theme folder replaces the live one whole. Uploads merge, and nothing on the server is deleted.

Four steps: back up live tables, load new tables, rewrite URLs, swap with one RENAME TABLE
The new database is built beside the live one and swapped in at the end.

Some things on the server are never overwritten. Users and user meta, wp-config.php and the SQLite drop-in that local Studio sites use aren’t sent. The server keeps its own search visibility setting, its Jetpack connection options and its caching drop-ins. Plugin and theme folders that the host links in, such as Jetpack and Akismet on Pressable, are skipped.

Checklist of what a push leaves alone: users, wp-config.php, cache drop-ins, search visibility, Jetpack, host-linked plugins
Six things a push never overwrites on the server.

What I ran

I installed the wp-studio 2.5.0 package from npm and drove Studio through its CLI. Everything ran on one virtual machine with 4 vCPUs (Intel Xeon, 2.1 GHz), 15 GB of memory, a 252 GB disk and Ubuntu 24.04. The server was an sshd on a loopback port on that machine, with MariaDB 10.11, PHP 8.3 and a fresh WordPress 7.1.5 install owned by its own user. The local Studio site used Studio’s bundled PHP 8.4. Because the two ends shared a machine, the timings say nothing about network speed.

On the server I wrote a post called “Written on the server” and installed a plugin. Then I made a local site and pulled the server into it:

Code
studio create --path ~/sites/local1 --name "Local One" --skip-browser --start=false
studio start --path ~/sites/local1 --skip-browser
studio pull --path ~/sites/local1 --remote-site "ssh:studiotest:/var/www/remote" --options all

The pull took about 11 seconds. The server’s post and plugins were in the local site, and its address had been rewritten to the local one.

I then added a post called “Written on the laptop”, changed the site tagline and dropped a new plugin folder into the local site, and pushed with --options all. The push took about 7 seconds. On the server the new post and the new tagline were there, and the plugin folder was in place. The site address and home URL were still the server’s own, the single admin user was unchanged, and the server hadn’t received a db.php or a mu-plugins folder, even though the local site has both. The push had also left a push- folder under ~/.studio-sync/ on the server holding backup.sql.gz, next to the uploaded WP-CLI file.

Terminal output of studio push over SSH ending in Successfully pushed, then the server's updated site description
The push and the check on the server. The file-count and upload-percentage lines are collapsed; everything else is as printed.

For the last run I moved tar, gzip, mysql and mysqldump out of the server’s path, and confirmed over SSH that none of them, nor wp, could be found. A database-only push still changed the tagline on the server. I then created a second post on the server and ran a full pull, and it arrived in the local site alongside the earlier ones.

I used the CLI, not the desktop app, and I tested a plain Linux server. I didn’t run multisite, Windows, a WordPress.com or Pressable host over SSH, a large site, or a push that fails partway.

How it compares

Local, from WP Engine, is the closest rival as a local WordPress app. Its Connect feature pushes and pulls to WP Engine and Flywheel, and its docs send everyone else to the WP Migrate plugin. A community add-on, SSH Sync for Local, adds any-host SSH sync with a preview and an undo, and needs rsync on the server. DDEV’s ddev pull and ddev push move the database and user-generated files through provider recipes, not code. WP-CLI can run commands against a remote site with --ssh and aliases, but it needs WP-CLI installed there, and it doesn’t sync a site by itself.

ToolWhere it can pushWhat movesNeeds on the server
WordPress Studio 2.5.0Any server over SSH, WordPress.com, Pressable, Spacefast (static)Database, plugins, themes, uploads, chosen filesSSH key login, PHP
Local ConnectWP Engine, FlywheelSite files and databaseAn account on the host
SSH Sync add-on for LocalAny server over SSHFiles and database, with preview and undorsync
DDEV pull and pushPantheon, Upsun, Acquia, Lagoon, rsync, git, local filesDatabase and user-generated files, not codeDepends on the recipe
WP-CLI with –sshAny server over SSHRuns commands remotely, no site syncWP-CLI
WP Migrate ProAny WordPress site running the pluginDatabase, media, themes, pluginsThe plugin, on both sites
Taken from each project’s own documentation. I only ran Studio.

What it doesn’t do yet

  • Multisite networks aren’t supported.
  • A pull can’t choose individual files over SSH, because that needs backups and SSH sites don’t have them.
  • Only the upload step of a push can be cancelled.
  • The pre-push backup sits on the server, and Studio can’t restore it for you. The pull request lists restoring it from Studio as a follow-up, along with sending only changed files on repeat transfers, browsing remote files for a selective pull, and multisite.
  • Nothing on the server is deleted by a push, so a file you remove locally stays on the server.

The CLI reference page still describes push and pull as WordPress.com and Pressable only. The Publish and pull page and the 2.5.0 studio push --help cover SSH.

Try it on a staging server first

  1. Install Studio 2.5.0, either the desktop app or the CLI with curl -fsSL https://wordpress.studio/install.sh | bash.
  2. Add the server to ~/.ssh/config and check that ssh yourhost logs in without a prompt.
  3. Find the folder on the server that holds wp-config.php, for example /var/www/html.
  4. Pull it into a new local site, then push a small change back.
Code
studio pull --path ~/sites/my-site --remote-site "ssh:yourhost:/var/www/html" --options all
studio push --path ~/sites/my-site --remote-site "ssh:yourhost:/var/www/html" --options plugins,themes

Check that the backup folder appeared under ~/.studio-sync/ on the server and that the site’s URL is still its own. Benguella’s post asks for reports from other hosts while the beta runs.