Giter Club home page Giter Club logo

duperputty's Introduction

DuperPutty>_

proj_icon

This is a bash shell script that can give a multiplexing experience similar to that of the Windows tool "SuperPutty". This could be useful if you need to ssh to many hosts at once. You do not need to maintain a hostlist file, you can easily paste in a list of hosts for more ad hoc type scenarios.

While tmux/byobu by themselves provide great multiplexing, this was helpful for me to be able to easily ssh to many hosts and send commands to all. This is no replacement for tools like ansible (which allows you to pretty easily issue command across many hosts), or tools like clusterssh and other cluster tools, but it may just fit the in-between scenarios of ad hoc multiplexing.

Installing

This is a shell script so no need to install, simply download just the DuperPutty.sh script. However for a more "integrated" experience, you could grab it doing the following:

Using CURL:

sudo curl -L https://github.com/amaturehr/DuperPutty/raw/master/DuperPutty.sh -o /usr/local/bin/DuperPutty
sudo chmod a+rx /usr/local/bin/DuperPutty

Using WGET:

sudo wget https://github.com/amaturehr/DuperPutty/raw/master/DuperPutty.sh -O  /usr/local/bin/DuperPutty
sudo chmod a+rx /usr/local/bin/DuperPutty

Please don't blindly run the above, only do so if the idea of this script sounds useful and you would like it easily available in your path as a "standard" command.

This is a Linux only script. It could work on MacOS or on Windows with WSL but I have not tried, or have the desire to.

Prerequisites

  • This requires TMUX and Byobu be installed. Typically installing byobu pulls in tmux as a dependency
sudo apt install byobu
  • The reason for byobu is its simplified key bindings and general nicer ease of use (in my opinion).

Example:

./DupperPutty.sh <session_name> <username> 'HOST1 HOST2 HOST3'

Syntax Example

Switching Tabs can be done using F3/F4 keys. F4 to go forward, F3 to go back:

Syntax Example

Sending commands to all panes done using CTL+F9:

Syntax Example

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

duperputty's People

Contributors

amaturehr avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

conroman16

duperputty's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.