Skip to content

thaupt76/ssh-host-manager

 
 

Repository files navigation

SSH Host Manager

Simple CLI to manage your ssh shortcuts

Install

npm install -g ssh-host-manager

Requirements

  • Unix system
  • NodeJs
  • OpenSSH with min version 7.3p1

Usage

// Add a new entry with name test
shm add test root@example.com

// Add a new entry with name test with custom port
shm add test root@example.com:443

// Add a new entry with name test with custom ssh key
shm add test root@example.com /home/shyim/.ssh/server.key

// Connect to the new entry
ssh test

List

Uninstall

  • Remove the file $HOME/.ssh/manager_hosts

  • Remove the include in $HOME/.ssh/config

About

Simple CLI to manage your ssh shortcuts

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 51.4%
  • TypeScript 48.6%