PHPackages                             yokessh/yoke - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. yokessh/yoke

ActiveProject[Utility &amp; Helpers](/categories/utility)

yokessh/yoke
============

Yoke: SSH Connection Manager/Wallet

v1.0.9(3y ago)43393[1 issues](https://github.com/yokessh/yoke/issues)MITPHPPHP &gt;=8.1

Since May 12Pushed 3y ago3 watchersCompare

[ Source](https://github.com/yokessh/yoke)[ Packagist](https://packagist.org/packages/yokessh/yoke)[ RSS](/packages/yokessh-yoke/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (5)Versions (12)Used By (0)

Yoke: SSH Connection Manager
----------------------------

[](#yoke-ssh-connection-manager)

Yoke is a PHP based **SSH connection manager**. Sometimes storing servers hosts, usernames, ports and passwords can be tricky, SSH Key authentication makes it easier for us, but it doesn't solve the problem of remembering all the other information. Also, sometimes we face ourselves with more than one private key to authenticate with (like multiple accounts on AWS).

Yoke aims to be a single repository for server managements to allow you to fastly connect to your servers just by remembering it's alias, like.

```
yoke connect myserver
```

With security in mind, all information about your servers is encrypted using **AES 256**.

**NOTICE** The encryption key is also stored into your computer, Yoke encryption only makes it harder for users to identify and decrypt the information. But just like SSH private keys, it does not protect against people getting access to your filesystem.

### Installation

[](#installation)

In order to use Yoke, you need PHP 8+ installed, with openssl extension enables (default on most installs)

The installation process is based on the global composer packages, so you need to have a working composer install with the correct binary path settings. [Read this tutorial ](https://akrabat.com/global-installation-of-php-tools-with-composer/)

If you have the requirements, install Yoke by running:

```
composer global require yokessh/yoke
```

This is all you need to do! Time for usage instructions.

### Usage

[](#usage)

Using Yoke is really simple and straightforward.

#### Adding a Server Connection

[](#adding-a-server-connection)

In order to store a new connection, just run the command

```
yoke add [alias]
```

You will then be presented with a few questions:

```
Registering a new Server Configuration!

Server connection alias (server1): sample-server

👤 Server username (none): sample-user

🖥️ Server hostname or IP Address (192.168.0.1): server.sampleapp.com

🚪 Server Port (22): 6262

🔐 Authentication Method:[system|key|password] (system): key

🔑 Private Key (~/.ssh/id_rsa):

Server registered successfully! 🥳

```

#### Connecting

[](#connecting)

As we have this connection in place, we can establish a connection, anytime we want just by running a simple command:

```
yoke connect sample-server
```

In case it's a server with a password, you can optionally ask to show the password when connecting:

```
yoke connect sample-server --password
```

Easy right?

#### Listing connections

[](#listing-connections)

Forgot a server alias? Don't worry, you can just run:

```
yoke servers
```

To see a list of stored connections, like this one

```
+---------------+----------------------+-------------+------+--------------+
| Name          | Host                 | Username    | Port | Auth. Method |
+---------------+----------------------+-------------+------+--------------+
| server-a      | a.sampleapp.comm     | admin       | 22   | key          |
| server-b      | b.sampleapp.com      | root        | 2222 | system       |
| server-c      | c.sampleapp.com      | root        | 22   | password     |
+---------------+----------------------+-------------+------+--------------+
```

#### Removing a connection

[](#removing-a-connection)

Don't need a stored connection anymore?

Just run

```
yoke delete alias
```

Confirm the deletion and it's done!.

#### Final Notes:

[](#final-notes)

There are 3 different allows authentication types:

- `key` - uses a specified private key to establish the connection
- `system` - Do not specify a private key to connect, it lets ssh try to connection with current user's key
- `password` - SSH does not allow passing plain password as a parameter, Yoke will just show the password on screen, so you can copy and paste it. **Password authentication is highly unrecommended**.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 94.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~237 days

Recently: every ~544 days

Total

11

Last Release

1281d ago

PHP version history (3 changes)v1.0.7PHP ^8.0

v1.0.8PHP ^8.1

v1.0.9PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/3aa9c677ea78699d61bd364f6278025d8cc955e0205610071c15e3785ca3fa9d?d=identicon)[lucasmezencio](/maintainers/lucasmezencio)

---

Top Contributors

[![lucasmezencio](https://avatars.githubusercontent.com/u/472412?v=4)](https://github.com/lucasmezencio "lucasmezencio (17 commits)")[![hernandev](https://avatars.githubusercontent.com/u/1143355?v=4)](https://github.com/hernandev "hernandev (1 commits)")

---

Tags

keychainphpsshsshmanagerwallet

### Embed Badge

![Health badge](/badges/yokessh-yoke/health.svg)

```
[![Health](https://phpackages.com/badges/yokessh-yoke/health.svg)](https://phpackages.com/packages/yokessh-yoke)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[overtrue/php-opencc

中文简繁转换，支持词汇级别的转换、异体字转换和地区习惯用词转换（中国大陆、台湾、香港、日本新字体）。基于 \[BYVoid/OpenCC\](https://github.com/BYVoid/OpenCC) 数据实现。

12130.7k](/packages/overtrue-php-opencc)[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
