Connection-master
Connection-master is the CLI tool build in Golang for managing ssh connection. It helps in storing the servers ipaddress/hostname, username and password so that we can ssh the system in just one click.
Installation
For RHEL 7 -
# subscription-manager repos --enable=rhel-7-server-optional-rpms
# yum install golang
# echo "export GOPATH=/root/go" >> /etc/profile
# echo "export PATH=\$PATH:\$GOPATH/bin" >> /etc/profile
# mkdir /var/lib/connection-master
# go get github.com/patilsuraj767/connection-master
# go install github.com/patilsuraj767/connection-master
# source /etc/profile
Usage
>> connection-master --help
Usage:
connection-master [flags]
connection-master [command]
Available Commands:
add Add SSH server
delete A brief description of your command
help Help about any command
list A brief description of your command
Flags:
--config string config file (default is $HOME/.connection-master.yaml)
-h, --help help for connection-master
-t, --toggle Help message for toggle
Screen
# connection-master
connection-master command will promote the list of servers to which one can ssh. After pressing enter it ssh's the server + server name gets copied to the clipboard
# connection-master add
Using connection-master add command we can add our servers in connection-master
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.