Code Monkey home page Code Monkey logo

ec2ssh's Introduction

ec2ssh.py - quicker SSH access to your instances

ec2ssh.py uses EC2's Name tag on instances to make it easier for you to connect to an instance using its name instead of ID or figuring out its public ip.

Usage

usage: ec2ssh.py [-h] [-k AWS_ACCESS_KEY_ID] [-s AWS_SECRET_ACCESS_KEY]
[-f KEY_FILE] [-u USER] [-r REGION] instance_name

SSH into an EC2 instance via its Name tag

positional arguments:
instance_name The instance name
optional arguments:
-h, --help show this help message and exit
-k AWS_ACCESS_KEY_ID, --aws_access_key_id AWS_ACCESS_KEY_ID
 Your access key Id (can also be set via AWS_ACCESS_KEY_ID environment variable)
-s AWS_SECRET_ACCESS_KEY, --aws_secret_access_key AWS_SECRET_ACCESS_KEY
 Your secret access key (can be set via AWS_SECRET_ACCESS_KEY environment variable)
-f KEY_FILE, --key_file KEY_FILE
 Path to the EC2 certificate file (can be set via EC2_INSTANCE_KEY_FILE environment variable)
-u USER, --user USER
 User name to login with (default: ubuntu)
-r REGION, --region REGION
 The region as specified in AWS API (default: us- east-1)

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.