PHPackages                             igorsgm/ssh-vault - 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. [CLI &amp; Console](/categories/cli)
4. /
5. igorsgm/ssh-vault

ActiveProject[CLI &amp; Console](/categories/cli)

igorsgm/ssh-vault
=================

🗝️ • Lightweight utility for easy SSH management. Add, list, access and remove connections with simple commands, keeping your SSH config organized.

v1.5.0(1y ago)083MITPHPPHP ^8.2

Since Nov 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/igorsgm/ssh-vault)[ Packagist](https://packagist.org/packages/igorsgm/ssh-vault)[ Docs](https://github.com/igorsgm/ssh-vault)[ RSS](/packages/igorsgm-ssh-vault/feed)WikiDiscussions master Synced 1mo ago

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

🗝️ SSH Vault
============

[](#️-ssh-vault)

Manage SSH connections effortlessly with SSH Vault, a lightweight user-friendly tool for adding, listing, accessing, and removing SSH connections. Replace cumbersome bash aliases and notes with this efficient utility for organized SSH config management.

 [ ![Latest Version on Packagist](https://camo.githubusercontent.com/5c4221a62bd5b6a42fb6cbd7fc83dd5f925d6fe6ba1fd480d01388d312b3e6c5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69676f7273676d2f7373682d7661756c742e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/igorsgm/ssh-vault) [![Build Status](https://camo.githubusercontent.com/30afec19e153b0cb71d854e7171dd738ee6abd1b700a706cb015e5f76ce7754a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f69676f7273676d2f7373682d7661756c742f6d61737465723f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/30afec19e153b0cb71d854e7171dd738ee6abd1b700a706cb015e5f76ce7754a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f69676f7273676d2f7373682d7661756c742f6d61737465723f7374796c653d666c61742d737175617265) [![Test Coverage](https://camo.githubusercontent.com/95678a1038c972280512fa98d0b5d35e10f434681650d181a954b36eaa276cdf/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f69676f7273676d2f7373682d7661756c742f6d61737465723f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/95678a1038c972280512fa98d0b5d35e10f434681650d181a954b36eaa276cdf/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f69676f7273676d2f7373682d7661756c742f6d61737465723f7374796c653d666c61742d737175617265) [![Code Quality](https://camo.githubusercontent.com/92c757180e3fa600f692eed04d38517596e3f202c82c4ac3a0d3280c87e79474/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f69676f7273676d2f7373682d7661756c742f6d61737465723f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/92c757180e3fa600f692eed04d38517596e3f202c82c4ac3a0d3280c87e79474/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f69676f7273676d2f7373682d7661756c742f6d61737465723f7374796c653d666c61742d737175617265) [ ![Total Downloads](https://camo.githubusercontent.com/c36ca503ef79236450abce46d9d119ef4a31998b0c703f47314b9571251c1ba3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69676f7273676d2f7373682d7661756c742e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/igorsgm/ssh-vault)

---

 [![SSH Vault usage sample with available commands](https://raw.githubusercontent.com/igorsgm/ssh-vault/master/storage/images/ssh-vault-available-commands.png)](https://raw.githubusercontent.com/igorsgm/ssh-vault/master/storage/images/ssh-vault-available-commands.png)

✨ Features
----------

[](#-features)

> It just parses and modifies `~/.ssh/config` file. You can continue to use tools that you like and just use this wrapper to add or remove connections from your ssh config file.

- **List Hosts:** View SSH/config file contents in various formats.
- **Add New Host:** Simplify adding new SSH connections.
- **Remove Host:** Keep your SSH config file clean by removing connections.
- **Add Connection:** Effortlessly establish new SSH connections, enhancing your SSH management workflow.

1️⃣ Installation
----------------

[](#1️⃣-installation)

- You can install the package via composer:

```
composer global require igorsgm/ssh-vault
```

2️⃣ Usage
---------

[](#2️⃣-usage)

### 📋 Display all SSH connections in a list format:

[](#-display-all-ssh-connections-in-a-list-format)

Detailed list format for easy SSH host overview.

```
ssh-vault hosts:list
```

### 🧮 Display all SSH connections in a table format:

[](#-display-all-ssh-connections-in-a-table-format)

Comprehensive table layout for SSH connection details.

```
ssh-vault hosts:table
```

 [![SSH Vault hosts list and table](https://raw.githubusercontent.com/igorsgm/ssh-vault/master/storage/images/ssh-table.png)](https://raw.githubusercontent.com/igorsgm/ssh-vault/master/storage/images/ssh-table.png)

### 📄 Display all SSH connections in a raw format:

[](#-display-all-ssh-connections-in-a-raw-format)

Unfiltered view of SSH configurations for in-depth review.

```
ssh-vault hosts:raw
```

 [![SSH Vault raw ssh config](https://raw.githubusercontent.com/igorsgm/ssh-vault/master/storage/images/ssh-vault-raw.png)](https://raw.githubusercontent.com/igorsgm/ssh-vault/master/storage/images/ssh-vault-raw.png)

### 🔗 Add a new SSH connection to your config file

[](#-add-a-new-ssh-connection-to-your-config-file)

Interactive inputs for quick SSH connection setup.

```
ssh-vault hosts:add
```

 [![SSH Vault add new connection](https://raw.githubusercontent.com/igorsgm/ssh-vault/master/storage/images/ssh-add.png)](https://raw.githubusercontent.com/igorsgm/ssh-vault/master/storage/images/ssh-add.png)

### 🚮 Remove SSH connection from config file

[](#-remove-ssh-connection-from-config-file)

Interactive multi-select menu for removing SSH connections.

```
ssh-vault hosts:remove
```

### 🌐 SSH to a specific host from your config file

[](#-ssh-to-a-specific-host-from-your-config-file)

Streamlined SSH connection to chosen hosts with detailed options.

```
ssh-vault hosts:connect
```

 [![SSH Vault remove and connect hosts](https://raw.githubusercontent.com/igorsgm/ssh-vault/master/storage/images/ssh-connect.png)](https://raw.githubusercontent.com/igorsgm/ssh-vault/master/storage/images/ssh-connect.png)

---

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Igor Moraes](https://github.com/igorsgm)
- [Gleb Golda](https://github.com/Salmondx)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~70 days

Recently: every ~88 days

Total

6

Last Release

563d ago

PHP version history (2 changes)v1.0.0PHP ^8.1

v1.3.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/cfb997f2b3487c4c0bee305619750280ddcfd0707533296d0db532268382be8f?d=identicon)[igorsgm](/maintainers/igorsgm)

---

Top Contributors

[![igorsgm](https://avatars.githubusercontent.com/u/14129843?v=4)](https://github.com/igorsgm "igorsgm (58 commits)")

---

Tags

clicomposerconnectionconsoleconsole-applicationlaravellaravel-zeroshellsshssh-clientssh-serversymfonyterminaltoolutilitycliconsolelaravelsshlaravel-zeroConnectionssh-clientssh-server

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/igorsgm-ssh-vault/health.svg)

```
[![Health](https://phpackages.com/badges/igorsgm-ssh-vault/health.svg)](https://phpackages.com/packages/igorsgm-ssh-vault)
```

###  Alternatives

[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[nunomaduro/laravel-console-task

Laravel Console Task is a output method for your Laravel/Laravel Zero commands.

2582.1M11](/packages/nunomaduro-laravel-console-task)[nunomaduro/laravel-console-summary

A Beautiful Laravel Console Summary for your Laravel/Laravel Zero commands.

662.0M3](/packages/nunomaduro-laravel-console-summary)[nunomaduro/laravel-console-dusk

Laravel Console Dusk allows the usage of Laravel Dusk in Laravel/Laravel Zero artisan commands.

16255.4k7](/packages/nunomaduro-laravel-console-dusk)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)

PHPackages © 2026

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