Code Monkey home page Code Monkey logo

sshall's Introduction

sshall

Quick and easy way to ssh into multiple EC2 instances based on ASG names.

macOS support only (Needs iterm2)

Requirements

MacOS:

Manual installations:
  • iTerm2 - Please install this first if you don't have iterm2.
  • homebrew
  • AWS CLI: brew install awscli and then make sure you configure it using aws configure
sshall automatic installations:

Ubuntu:

Manual installations:
  • terminator - Please install this first if you don't have terminator installed: sudo apt-get install terminator
  • python module: configobj : sudo pip install configobj
  • AWS CLI: sudo apt-get install awscli and then make sure you configure it using aws configure

Installation

In an appropriate directory mkdir /tmp/sshall && cd /tmp/sshall && curl -L https://github.com/urjitbhatia/sshall/releases/download/v4.0/sshall.tar.gz | tar xv && ./install

Usage

In your favorite terminal window:

sshall myBestAutoScalingGroup

Note:

Opening multiple ssh windows for large number of instances can cause your machine to run out of memory. sshall will warn if if finds more than 15 target instances to ssh into.

======= Mac users Protip : use apple + shift + i to type into all the panes simultaneously (iTerm2 feature)

Caveats

  • This doesn't page yet. So don't target groups that have more than ~15 instances.
  • Make sure AWS cli is installed and works (including credentials etc).
  • I've tested this with about 20 panes max and memory burden is quite noticeable at that point.

Future

  • Paging panes
  • Other filters

sshall's People

Contributors

urjitbhatia avatar dependabot[bot] avatar

Stargazers

Lexi Ross avatar

Watchers

James Cloos avatar

Forkers

sticksman

sshall's Issues

"aws_zsh_completer.sh line 16 autoload command not found" after installation

Hi, I got the following error after installing sshall:

/Users/MyPCName/.pyenv/versions/3.6.5/bin/aws_zsh_completer.sh: line 16: autoload: command not found
/Users/MyPCName/.pyenv/versions/3.6.5/bin/aws_zsh_completer.sh: line 17: bashcompinit: command not found

This error appears when I run source ~/.zshrc.

The error disappears if I disable the aws plugin of zsh.

Anyone knows how to solve this problem?

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.