/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-keygen.xml

  • Committer: Teddy Hogeborn
  • Date: 2008-09-19 16:04:11 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919160411-9xeasm77gx5xpfqo
* Makefile (install-server): Only do update-rc.d if $(DESTDIR) is
                             empty.

* debian/control (Source: mandos): Do not depend on "docbook";
                                   "docbook-xsl" is enough.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
3
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
4
<!ENTITY VERSION "1.0">
4
5
<!ENTITY COMMANDNAME "mandos-keygen">
5
 
<!ENTITY TIMESTAMP "2014-06-22">
6
 
<!ENTITY % common SYSTEM "common.ent">
7
 
%common;
 
6
<!ENTITY TIMESTAMP "2008-09-12">
8
7
]>
9
8
 
10
9
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
12
11
    <title>Mandos Manual</title>
13
12
    <!-- NWalsh’s docbook scripts use this to generate the footer: -->
14
13
    <productname>Mandos</productname>
15
 
    <productnumber>&version;</productnumber>
 
14
    <productnumber>&VERSION;</productnumber>
16
15
    <date>&TIMESTAMP;</date>
17
16
    <authorgroup>
18
17
      <author>
19
18
        <firstname>Björn</firstname>
20
19
        <surname>Påhlsson</surname>
21
20
        <address>
22
 
          <email>belorn@recompile.se</email>
 
21
          <email>belorn@fukt.bsnet.se</email>
23
22
        </address>
24
23
      </author>
25
24
      <author>
26
25
        <firstname>Teddy</firstname>
27
26
        <surname>Hogeborn</surname>
28
27
        <address>
29
 
          <email>teddy@recompile.se</email>
 
28
          <email>teddy@fukt.bsnet.se</email>
30
29
        </address>
31
30
      </author>
32
31
    </authorgroup>
33
32
    <copyright>
34
33
      <year>2008</year>
35
 
      <year>2009</year>
36
 
      <year>2011</year>
37
 
      <year>2012</year>
38
34
      <holder>Teddy Hogeborn</holder>
39
35
      <holder>Björn Påhlsson</holder>
40
36
    </copyright>
119
115
        <replaceable>TIME</replaceable></option></arg>
120
116
      </group>
121
117
      <sbr/>
122
 
      <group>
123
 
        <arg choice="plain"><option>--force</option></arg>
124
 
        <arg choice="plain"><option>-f</option></arg>
125
 
      </group>
 
118
      <arg><option>--force</option></arg>
126
119
    </cmdsynopsis>
127
120
    <cmdsynopsis>
128
121
      <command>&COMMANDNAME;</command>
129
122
      <group choice="req">
130
123
        <arg choice="plain"><option>--password</option></arg>
131
124
        <arg choice="plain"><option>-p</option></arg>
132
 
        <arg choice="plain"><option>--passfile
133
 
        <replaceable>FILE</replaceable></option></arg>
134
 
        <arg choice="plain"><option>-F</option>
135
 
        <replaceable>FILE</replaceable></arg>
136
125
      </group>
137
126
      <sbr/>
138
127
      <group>
148
137
        <arg choice="plain"><option>-n
149
138
        <replaceable>NAME</replaceable></option></arg>
150
139
      </group>
151
 
      <group>
152
 
        <arg choice="plain"><option>--no-ssh</option></arg>
153
 
        <arg choice="plain"><option>-S</option></arg>
154
 
      </group>
155
140
    </cmdsynopsis>
156
141
    <cmdsynopsis>
157
142
      <command>&COMMANDNAME;</command>
182
167
    </para>
183
168
    <para>
184
169
      This program can also be used with the
185
 
      <option>--password</option> or <option>--passfile</option>
186
 
      options to generate a ready-made section for
187
 
      <filename>clients.conf</filename> (see
 
170
      <option>--password</option> option to generate a ready-made
 
171
      section for <filename>clients.conf</filename> (see
188
172
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
189
173
      <manvolnum>5</manvolnum></citerefentry>).
190
174
    </para>
222
206
        <listitem>
223
207
          <para>
224
208
            Target directory for key files.  Default is
225
 
            <filename class="directory">/etc/mandos</filename>.
 
209
            <filename>/etc/mandos</filename>.
226
210
          </para>
227
211
        </listitem>
228
212
      </varlistentry>
234
218
        <replaceable>TYPE</replaceable></option></term>
235
219
        <listitem>
236
220
          <para>
237
 
            Key type.  Default is <quote>RSA</quote>.
 
221
            Key type.  Default is <quote>DSA</quote>.
238
222
          </para>
239
223
        </listitem>
240
224
      </varlistentry>
246
230
        <replaceable>BITS</replaceable></option></term>
247
231
        <listitem>
248
232
          <para>
249
 
            Key length in bits.  Default is 4096.
 
233
            Key length in bits.  Default is 2048.
250
234
          </para>
251
235
        </listitem>
252
236
      </varlistentry>
258
242
        <replaceable>KEYTYPE</replaceable></option></term>
259
243
        <listitem>
260
244
          <para>
261
 
            Subkey type.  Default is <quote>RSA</quote> (Elgamal
 
245
            Subkey type.  Default is <quote>ELG-E</quote> (Elgamal
262
246
            encryption-only).
263
247
          </para>
264
248
        </listitem>
271
255
        <replaceable>BITS</replaceable></option></term>
272
256
        <listitem>
273
257
          <para>
274
 
            Subkey length in bits.  Default is 4096.
 
258
            Subkey length in bits.  Default is 2048.
275
259
          </para>
276
260
        </listitem>
277
261
      </varlistentry>
295
279
        <replaceable>TEXT</replaceable></option></term>
296
280
        <listitem>
297
281
          <para>
298
 
            Comment field for key.  Default is empty.
 
282
            Comment field for key.  The default value is
 
283
            <quote><literal>Mandos client key</literal></quote>.
299
284
          </para>
300
285
        </listitem>
301
286
      </varlistentry>
341
326
          </para>
342
327
        </listitem>
343
328
      </varlistentry>
344
 
      <varlistentry>
345
 
        <term><option>--passfile
346
 
        <replaceable>FILE</replaceable></option></term>
347
 
        <term><option>-F
348
 
        <replaceable>FILE</replaceable></option></term>
349
 
        <listitem>
350
 
          <para>
351
 
            The same as <option>--password</option>, but read from
352
 
            <replaceable>FILE</replaceable>, not the terminal.
353
 
          </para>
354
 
        </listitem>
355
 
      </varlistentry>
356
 
      <varlistentry>
357
 
        <term><option>--no-ssh</option></term>
358
 
        <term><option>-S</option></term>
359
 
        <listitem>
360
 
          <para>
361
 
            When <option>--password</option> or
362
 
            <option>--passfile</option> is given, this option will
363
 
            prevent <command>&COMMANDNAME;</command> from calling
364
 
            <command>ssh-keyscan</command> to get an SSH fingerprint
365
 
            for this host and, if successful, output suitable config
366
 
            options to use this fingerprint as a
367
 
            <option>checker</option> option in the output.  This is
368
 
            otherwise the default behavior.
369
 
          </para>
370
 
        </listitem>
371
 
      </varlistentry>
372
329
    </variablelist>
373
330
  </refsect1>
374
331
  
407
364
    </variablelist>
408
365
  </refsect1>
409
366
  
410
 
  <refsect1 id="files">
 
367
  <refsect1 id="file">
411
368
    <title>FILES</title>
412
369
    <para>
413
370
      Use the <option>--dir</option> option to change where
434
391
        </listitem>
435
392
      </varlistentry>
436
393
      <varlistentry>
437
 
        <term><filename class="directory">/tmp</filename></term>
 
394
        <term><filename>/tmp</filename></term>
438
395
        <listitem>
439
396
          <para>
440
397
            Temporary files will be written here if
475
432
    </informalexample>
476
433
    <informalexample>
477
434
      <para>
478
 
        Prompt for a password, encrypt it with the key in <filename
479
 
        class="directory">/etc/mandos</filename> and output a section
480
 
        suitable for <filename>clients.conf</filename>.
 
435
        Prompt for a password, encrypt it with the key in
 
436
        <filename>/etc/mandos</filename> and output a section suitable
 
437
        for <filename>clients.conf</filename>.
481
438
      </para>
482
439
      <para>
483
440
        <userinput>&COMMANDNAME; --password</userinput>
516
473
  <refsect1 id="see_also">
517
474
    <title>SEE ALSO</title>
518
475
    <para>
519
 
      <citerefentry><refentrytitle>intro</refentrytitle>
520
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
521
476
      <citerefentry><refentrytitle>gpg</refentrytitle>
522
477
      <manvolnum>1</manvolnum></citerefentry>,
523
478
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
525
480
      <citerefentry><refentrytitle>mandos</refentrytitle>
526
481
      <manvolnum>8</manvolnum></citerefentry>,
527
482
      <citerefentry><refentrytitle>mandos-client</refentrytitle>
528
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
529
 
      <citerefentry><refentrytitle>ssh-keyscan</refentrytitle>
530
 
      <manvolnum>1</manvolnum></citerefentry>
 
483
      <manvolnum>8mandos</manvolnum></citerefentry>
531
484
    </para>
532
485
  </refsect1>
533
486