2017 © Pedro Peláez
 

wp-cli-package wp-cli-ssh-command

WP-CLI command to create a persistent SSH connection to a site alias.

image

dword-design/wp-cli-ssh-command

WP-CLI command to create a persistent SSH connection to a site alias.

  • Monday, June 5, 2017
  • by Dword
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

WP-CLI SSH Command

This command allows to connect to an SSH alias and stay connected. The core functionality only allows to execute single commands via SSH., (*1)

Installation

Since the package index of WP-CLI is currently on hold, the package has to be installed by hand:, (*2)

$ cd ~/.wp-cli/packages/
$ composer require dword-design/wp-cli-ssh-command

Usage

Configure your SSH aliases in wp-cli.yml:, (*3)

@live:
  ssh: user@myserver.de
  path: www

@alias2:
  ...

Connect to the server via the SSH command:, (*4)

wp ssh @live

TODO

  • Directly navigate into the SSH aliase's path

The Versions

05/06 2017

dev-master

9999999-dev https://github.com/dword-design/wp-cli-ssh-command

WP-CLI command to create a persistent SSH connection to a site alias.

  Sources   Download

MIT