定制 igorsgm/ssh-vault 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

igorsgm/ssh-vault

最新稳定版本:v1.5.0

Composer 安装命令:

composer create-project igorsgm/ssh-vault

包简介

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

README 文档

README

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 Build Status Test Coverage Code Quality Total Downloads

SSH Vault usage sample with available commands

✨ 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

  • You can install the package via composer:
composer global require igorsgm/ssh-vault

2️⃣ Usage

📋 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:

Comprehensive table layout for SSH connection details.

ssh-vault hosts:table

SSH Vault hosts list and table

📄 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

🔗 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

🚮 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

Streamlined SSH connection to chosen hosts with detailed options.

ssh-vault hosts:connect

SSH Vault remove and connect hosts

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 83
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-10