Skip to content

Commit fab4ef7

Browse files
authored
Merge pull request #3 from imZack/master
Add manpage
2 parents a60c83f + 4b9ee5a commit fab4ef7

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

runoverssh.1

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
.TH RUNOVERSSH 1
2+
.SH NAME
3+
runoverssh \- Runs a Bash command/script over ssh in one or more hosts
4+
.SH SYNOPSIS
5+
.B runoverssh
6+
[\fBOPTIONS\fR]
7+
USERNAME
8+
COMMAND
9+
HOSTS...
10+
.SH DESCRIPTION
11+
.B runoverssh
12+
This program runs a Bash command/script over ssh in one or more hosts.
13+
.SH OPTIONS
14+
.TP
15+
.BR \-g ", " \-\-globalpw
16+
ask one global password for all connections
17+
18+
.TP
19+
.BR \-s ", " \-\-script " " [file]
20+
read commands from a script file instead
21+
22+
.TP
23+
.BR \-r ", " \-\-hostsfile " " [file]
24+
use the list of hosts from a file (one host per line)
25+
26+
.TP
27+
.BR \-n ", " \-\-nopw " " [file]
28+
no password (use ssh directly instead of sshpass)
29+
30+
.TP
31+
.BR \-a ", " \-\-args " " [args]
32+
specify the arguments to be passed to the script file
33+
34+
.TP
35+
.BR \-l ", " \-\-log
36+
save ssh output (default: runoverssh.log) (append)
37+
38+
.TP
39+
.BR \-q ", " \-\-quiet " " [file]
40+
disable ssh screen output
41+
42+
.TP
43+
.BR \-\-bashflags " " [flags]
44+
set custom bash flags.
45+
default: '-l'
46+
47+
.TP
48+
.BR \-\-sshflags " " [flags]
49+
set custom ssh flags.
50+
default: '-o ConnectTimeout=5 -o StrictHostKeyChecking=no'
51+
52+
.TP
53+
.BR \-\-logfile " " [file]
54+
save ssh output to a custom file (append)
55+
56+
.SH AUTHOR
57+
runoverssh was written by Yuri Escalianti.
58+

0 commit comments

Comments
 (0)