GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - square/gssh: simple command line to utility to run commands on multiple hosts in parallel

BranchesTags
Open more actions menu

Latest commit

 

History

39 Commits
39 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
gcmd
gcmd
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
gssh.go
gssh.go
 
 

Repository files navigation

gssh

simple command line program to run commands on multiple hosts in parallel.

Usage
echo host1 > /tmp/hosts
echo host2 >> /tmp/hosts
gssh -f /tmp/hosts uname -a

#host1:stdout:Linux host1 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
#host2:stdout:Linux host2 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
gssh -r host1..2 uname -a
Overriding ssh options

Example:

gssh -f file -- -o ConnectTimeout=30 -o BatchMode=yes id

gssh supports streaming output. Useful for tailing logs across multiple machines etc

gssh -f file -- tail -F /var/log/secure | grep -i Accepted
Installation
  1. Install go
  2. go get -u -v github.com/square/gssh
Development
  • We use godep for vendoring and dependency management.
    • godep restore # restore to last known good set
  • Please run gofmt and golint before submitting PRs

About

simple command line to utility to run commands on multiple hosts in parallel

Resources

Readme
License
Activity
Custom properties

Stars

106 stars

Watchers

19 watching

Forks

10 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.