EC2 ssh连接帮助程序
cloudssh的Python项目详细描述
EC2 ssh连接帮助程序
aws的ssh连接助手
cloudssh允许您使用 名称或实例ID。
它将调用aws sdk来查找实例的公共ip地址并打开 子进程中的ssh连接。
示例:
EC2
您可以通过以下方式连接到此实例:
cssh dev
还可以通过构建本地 aws实例的索引,然后调用cloudssh,而不调用任何 争论。
cssh --build_index # The instances index has been stored in ~/.cloudssh/. cssh # Start typing an instance name and press [TAB] to auto complete.
或按名称搜索实例:
cssh --build_index # The instances index has been stored in ~/.cloudssh/. cssh --search http # Found "web-http-prod", connect? [Y/n]:
示例:
EC2
安装和使用
pip3 install cloudssh aws configure # To configure your AWS credentials cssh myserver # Call the module followed by the name of one of your servers
高级配置
您可以选择创建文件~/.cloudssh/cloudssh.cfg(请参见 example)。