Base on GGH
GGH is a lightweight, fast wrapper around your SSH commands. It helps you to recall your SSH sessions. This is one of the most useful tools for developers who work with multiple servers.
Thanks to GGH Team.
Worm inherits all the features of GGH and expands with several new features (I need), such as:
- Setting up a workspace for each project or company...
- Each workspace contains multiple files, each managing a separate list of servers needing SSH access. Each file can represent a data center or Platform…
- Supporting server access via SSH and TSH
- Saving history for each workspace
-
Clone the repository
-
Run the command
go install github.com/1Ginz/jump/cmd@latest -
Setup workspace
-
Setup Configuration file by default jump look up config at ~/.jump/configs
mkdir -p ~/.jump/configscreate workspace dir (each workspace are isolate)
cd ~/.jump/configs
mkdir adtechnow each workspace we can create login file. each file manage connect to 1 remote server
Host ssp-23-115
HostName 192.168.23.115
User cuongnv
Mode TSH
#other info want to show
IdentityFile NPSHost {HostNAme}
HostName {IP}
User {UserName}
Mode {SSH|TSH}
Detail {What ever u want}
List workspaces
worm --workspaceSwitch workspace
worm --active Interactive history
worm worm --historyInteractive configuration file
worm -Interactive configuration file with search for groups or hostnames.
worm - xxxx