connection-master

command module
v0.0.0-...-3769f41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

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

Alt text

# connection-master add

Using connection-master add command we can add our servers in connection-master

Alt text

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Documentation

Overview

Copyright © 2019 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL