Skip to content

dword-design/wp-cli-ssh-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

About

Allows to create a persistent connection to a site alias.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages