首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > ec2-ssh

ec2-ssh

  • 资源大小:6.33 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: bash macosx ssh aws EC2

资 源 简 介

Intro Simple bash script that will fetch instances list from AWS and propose a list of EC2 instances to connect to. It will always use a cached copy of your EC2 instances list, which can be refreshed using the "--refresh" command line parameter or manually via the first menu option. Tested on Mac OSX Lion (10.7). Setup Requirements Amazon EC2 API Tools installed with PATH and all "EC2_xxx" environment variables set Your Amazon PEM key (the one you use to SSH to your EC2 instances) Sample EC2 environment variables These are sample environment variables which you can set in your ~/.bash_profile: export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home/export AWS_HOME=~/.awsexport EC2_REGION=eu-west-1export EC2_HOME=$AWS_HOME/ec2export EC2_PRIVATE_KEY=`ls $AWS_HOME/pk-*.pem`export

文 件 列 表

ec2
VIP VIP
0.175519s