GithubHelp home page GithubHelp logo

frederikp / sshaws Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 4.0 75 KB

Simply connect to your 'EC2 Instance Connect'-capable AWS EC2 servers using one command

License: MIT License

Python 100.00%
aws cloud developer-tools ec2 pypi ssh

sshaws's People

Contributors

derekjbernard avatar frederikp avatar jeandek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sshaws's Issues

ssh by tag

Nice tool!

might be cool (if not a little more expensive) if you could ssh by tag.. e.g.

sshaws -t Name:worker1

obviously if the particular tag is not unique.. you have troubles....

First thoughts

sshaws/sshaws

Line 25 in c65872e

ec2_client = boto3.client('ec2')

This assumes that you have set default region (e.g. in ~/.aws/config file or as AWS_DEFAULT_REGION env variable) or crashes otherwise.
Safer way to get default region (if available) is:
boto3.session.Session().region_name

sshaws/sshaws

Line 63 in c65872e

print(instance.keys())

Some debugging residue ?

sshaws/sshaws

Line 91 in c65872e

subprocess.run()

I suppose this should be:subprocess.run(command_list) ?

aliases

Would be nice if in the sshaws config, you could add aliases for instances, so that you could connect to them using something a little more memorable than instance ids. ;)

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.