Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 799 Bytes

README.md

File metadata and controls

47 lines (36 loc) · 799 Bytes

gsh

Build Status

quickly ssh connect

Requirements

Installation

export GOPATH=$HOME/go
go get -v github.com/danielkraic/gsh

Configuration

confiruration file ~/.config/gsh.yml

---
- name: myserver1
  username: user1
  hostname: server1.localhost
  port: 22
- name: myserver2
  username: user2
  hostname: server2.localhost
- name: myserver3
  hostname: server3.localhost

Usage

# print help
gsh -h
# select server and connect using ssh
gsh
# select server with pattern and connect using ssh
gsh server1 user1
# select server and print ssh command to connect
gsh -p