-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdistkeys.1
72 lines (71 loc) · 1.78 KB
/
distkeys.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.10.
.TH DISTKEYS "1" "June 2013" "distkeys 1.0" "User Commands"
.SH NAME
distkeys \- distribute SSH keys to a list of servers
.SH SYNOPSIS
.B distkeys
\fI<options> <action>\fR
.SH DESCRIPTION
Distkeys distributes a list of SSH public keys to a list of servers. It
reaches servers behind a firewall as well. Furthermore it can also
execute a command or a script on a list of servers and can also list
host or authentication keys.
With an action you tell distkeys what to do. An option modifies the way
distkeys executes the action.
.SH ACTIONS
Supported actions are:
.TP
\fBadd\fR
Add or update key(s). Replaces a key if base64 matches, but description or arguments differ.
.TP
\fBaddremove\fR
Add keys, then remove keys with "\-" before filename.
.TP
\fBcmd\fR \fI<cmd>\fR
Exectute command <cmd>
.TP
\fBhostname\fR
Show hostname.
.TP
\fBhostkeys\fR
List hostkeys.
.TP
\fBlist\fR
List authorized keys.
.TP
\fBremove\fR
Remove key(s).
.TP
\fBscript\fR \fI<script>\fR
Upload <script> to server and execute it.
.TP
\fBscp\fR \fI<file>\fR
Upload <file> to the server.
.TP
\fBssh\fR
Start interactive SSH session.
.SH OPTIONS
.TP
\fB\-V\fR, \fB\-\-version\fR
Show version of distkeys.
.TP
\fB\-F\fR, \fB\-\-configfile\fR <file>
Alternative SSH per\-user configuration file.
.TP
\fB\-H\fR, \fB\-\-host\fR <host>
Host to connect to (Syntax: [user@]host[:port]).
.TP
\fB\-h\fR, \fB\-\-hostlist\fR <hostlist>
File with hosts to connect to.
.TP
\fB\-K\fR, \fB\-\-key\fR <key>
Keyfile to add or remove from the server.
.TP
\fB\-k\fR, \fB\-\-keylist\fR <keylist>
File with names of keyfiles to add or remove.
.TP
\fB\-G\fR, \fB\-\-gateway\fR <gateway>
Gateway to access the host via port forwarding.
.TP
\fB\-i\fR, \fB\-\-interactive\fR
Ask before each operation on a host.