【文件属性】:
文件名称:remotgo:通过SSH将命令发送到AWS EC2实例
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-12 13:09:56
ssh aws ec2 command remote
Remotgo
通过SSH将命令发送到AWS EC2实例
例子
在以Highway为角色的所有实例中执行“ df -H”命令。
用法
使用一个或多个-t(-tag)从将接收用-c(-command)指定的命令的实例中选择标签。 如果需要为ssh连接提供它,请使用-u(-用户名)和-p(-密码)。
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--username, -u "user" Ssh username (default: current user)
--password, -p Ssh password (default: empty)
--command,
【文件预览】:
remotgo-master
----.gitignore(266B)
----main.go(2KB)
----README.md(2KB)
----utils()
--------aws.go(2KB)
--------defaults.go(742B)
--------ssh.go(3KB)
--------format.go(322B)
----LICENSE(1KB)
----Makefile(2KB)