Centralized SSH Servers info Management
- manage servers infoes in center (git repository)
- update servers infoes from center
- jump to target server
- jump repo add default https://github.co/example/servers.git
- jump repo remove default
- jump repo update default
- jump repo list
- jump repo inspect default show areas in current repo
- jump to {area}/{name} will execute ssh user@ip
➜ jump repo list
default https://github.com/chengjingtao/servers.git
➜ jump repo update default
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Compressing objects: 100% (4/4), done.
Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
➜ jump repo inspect default
AREA: devops
=> int [email protected]
➜ jump to devops/int
/usr/bin/ssh ssh [email protected]