Skip to content

Latest commit

History

History
18 lines (11 loc) 路 369 Bytes

command.md

File metadata and controls

18 lines (11 loc) 路 369 Bytes

Command

Execute shell commands on target hosts.

Examples

# Set timeout seconds for executing commands on each target host.
$ gossh command host[1-3] -e "uptime" -t 20

# Connect target hosts by proxy server 10.16.0.1.
$ gossh command host[1-3] -e "uptime" -X 10.16.0.1

# Specify concurrency connections.
$ gossh command host[1-3] -e "uptime" -c 10