dword-design / wp-cli-ssh-command
WP-CLI command to create a persistent SSH connection to a site alias.
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Type:wp-cli-package
This package is not auto-updated.
Last update: 2025-06-21 02:23:53 UTC
README
This command allows to connect to an SSH alias and stay connected. The core functionality only allows to execute single commands via SSH.
Installation
Since the package index of WP-CLI is currently on hold, the package has to be installed by hand:
$ cd ~/.wp-cli/packages/
$ composer require dword-design/wp-cli-ssh-command
Usage
Configure your SSH aliases in wp-cli.yml
:
@live:
ssh: user@myserver.de
path: www
@alias2:
...
Connect to the server via the SSH command:
wp ssh @live
TODO
- Directly navigate into the SSH aliase's
path