gianlucaborello / aws-ssh-config Goto Github PK
View Code? Open in Web Editor NEWGenerate SSH config files from AWS EC2 inventory
License: GNU General Public License v2.0
Generate SSH config files from AWS EC2 inventory
License: GNU General Public License v2.0
Very cool script. Thank you.
Would be great if it had a --cfn option to generate host names based on logical-resource-id. And also the ability to concat the region name (which is seldom a tag) to the host name.
So host name in this mode would be, e.g. [CFN stack name]-[CFN logical name]-[region].
Just a thought.
Where an AMI has been deregistered, but an instance is still running, the call to get_image()
returns nothing, and subsequently the default-user is not set for these instances as image
is None
Getting this error for instances without private key
Traceback (most recent call last):
File "aws-ssh-config.py", line 137, in <module>
main()
File "aws-ssh-config.py", line 131, in main
print ' IdentityFile ~/.ssh/' + instance.key_name + '.pem'
TypeError: cannot concatenate 'str' and 'NoneType' objects
Is there a way to exclude instances without the private key(s)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.