r/ProWordPress • u/Natural_Engineer5194 • 1d ago
I made a Local add-on to pull and push sites to any server over SSH
Local WP's Connect only works with WP Engine and Flywheel, and my sites are on different VPSs on different providers, so every time I wanted a site locally it was wp db export, rsync, wp db import and a search-replace...
So I ended up building an add-on for it, SSH Sync for Local. It just uses your SSH access (key or password), and it does pull and push of files and the database. Before a push it shows the files that will change, and the last push can be undone.
github.com/fabiomsnunes/local-addon-ssh-sync
A pulled site runs all the live plugins, so I added a safe mode that blocks emails, turns off backup plugins and puts Stripe in test mode. It only covers some use cases for now, but it's on by default.
There's also a small CLI (ssh-sync pull/push/undo) next to Local WP's localwp.
It's free and open source (MIT), no paid version, no upsell, nothing to sell. macOS only for now and still early (v0.1.3). I've only tested it on my own servers, so I'd really like feedback from other devs!!
And if it breaks please open an issue on GitHub.

