Download the PHP package hernandev/yoke without Composer
On this page you can find all versions of the php package hernandev/yoke. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yoke
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.
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
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
If you have the requirements, install Yoke by running:
This is all you need to do! Time for usage instructions.
Usage
Using Yoke is really simple and straightforward.
Adding a Server Connection
In order to store a new connection, just run the command
You will then be presented with a few questions:
Connecting
As we have this connection in place, we can establish a connection, anytime we want just by running a simple command:
In case it's a server with a password, you can optionally ask to show the password when connecting:
Easy right?
Listing connections
Forgot a server alias? Don't worry, you can just run:
To see a list of stored connections, like this one
Removing a connection
Don't need a stored connection anymore?
Just run
Confirm the deletion and it's done!.
Final Notes:
There are 3 different allows authentication types:
key
- uses a specified private key to establish the connectionsystem
- Do not specify a private key to connect, it lets ssh try to connection with current user's keypassword
- 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.
All versions of yoke with dependencies
ext-json Version *
ext-openssl Version *
symfony/console Version ^6
symfony/yaml Version ^6
symfony/process Version ^6