WP-CLI

You can use the WordPress command line interface (WP-CLI) to SSH into a directory where WordPress is installed and run WP-CLI commands.

A list of commands is on the WP-CLI Commands page on WordPress.org.