zoras / ec2-ssh Goto Github PK
View Code? Open in Web Editor NEWThis project forked from kaji-bikash/ec2-ssh
SSH into EC2 instances via tag name
Home Page: http://pypi.python.org/pypi/ec2-ssh
This project forked from kaji-bikash/ec2-ssh
SSH into EC2 instances via tag name
Home Page: http://pypi.python.org/pypi/ec2-ssh
INSTALL 1. sudo python setup.py install It will provide ec2-ssh script that will make ssh'ing to EC2 instance more sane. Be sure to export AWS vars into your shell rc file(eg. .bashrc) export AWS_SECRET_KEY=yourkey export AWS_SECRET_ACCESS_KEY=your_access_key % ec2-ssh app1 # where app1 is the instance name of ec2 instance visible in AWS dashboard # equivalent to # ssh [email protected] where ec2-123-45-67-89.compute-1.amazonaws.com is the public URL to app1 name in corresponding AWS account. % ec2-ssh root@appserver % ec2-ssh deploy@nginx2 sudo restart nginx % ec2-ssh -l will list out all the active ec2 instances % ec2-ssh -a site1 "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAqVeNqpSJEhGrFvJeZdLyOXVAFORF0jj3/voX5wZ6rCXHXOXWVDcbVDryH5h6iGAfAeGfs11oTkh9i7L4KQC+mx8nInQy92LwTDMV8bdU1LGl6nCYOez8r0V+YlsSPem23byQga6IKCGUk/DwVpjFUESY86JCA7hMHsiSmCYsai8ovr8euFbZ8ZbHACfC3RtzDN8nx1p3Tuk2Ka0aEMKyAzQVRs9fW48sJ5zGJexY1nmZt5dXF1vb4u8qCHh7Z7+iLPo5sX4Td813XgAZ1FOMajyShgf5HBf8T4IUNbrN5Uf3pLTeVDLIDwqFpDQ2lSaurZ4umVLd11OALQ1TssbwwQ== [email protected]" will add the specified ssh keys(don't forget the quotes) directly to ec2 instance identified by site1 handle provided the user initiating the command is already in the authorized-keys of the site1 machine
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.