/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-26 19:27:46 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080926192746-zeo232bifine962h
* plugins.d/usplash.c (main): Bug fix: Do not free "cmdline" too soon.

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-20">
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>
148
141
        <arg choice="plain"><option>-n
149
142
        <replaceable>NAME</replaceable></option></arg>
150
143
      </group>
151
 
      <group>
152
 
        <arg choice="plain"><option>--no-ssh</option></arg>
153
 
        <arg choice="plain"><option>-S</option></arg>
154
 
      </group>
155
144
    </cmdsynopsis>
156
145
    <cmdsynopsis>
157
146
      <command>&COMMANDNAME;</command>
222
211
        <listitem>
223
212
          <para>
224
213
            Target directory for key files.  Default is
225
 
            <filename class="directory">/etc/mandos</filename>.
 
214
            <filename>/etc/mandos</filename>.
226
215
          </para>
227
216
        </listitem>
228
217
      </varlistentry>
234
223
        <replaceable>TYPE</replaceable></option></term>
235
224
        <listitem>
236
225
          <para>
237
 
            Key type.  Default is <quote>RSA</quote>.
 
226
            Key type.  Default is <quote>DSA</quote>.
238
227
          </para>
239
228
        </listitem>
240
229
      </varlistentry>
246
235
        <replaceable>BITS</replaceable></option></term>
247
236
        <listitem>
248
237
          <para>
249
 
            Key length in bits.  Default is 4096.
 
238
            Key length in bits.  Default is 2048.
250
239
          </para>
251
240
        </listitem>
252
241
      </varlistentry>
258
247
        <replaceable>KEYTYPE</replaceable></option></term>
259
248
        <listitem>
260
249
          <para>
261
 
            Subkey type.  Default is <quote>RSA</quote> (Elgamal
 
250
            Subkey type.  Default is <quote>ELG-E</quote> (Elgamal
262
251
            encryption-only).
263
252
          </para>
264
253
        </listitem>
271
260
        <replaceable>BITS</replaceable></option></term>
272
261
        <listitem>
273
262
          <para>
274
 
            Subkey length in bits.  Default is 4096.
 
263
            Subkey length in bits.  Default is 2048.
275
264
          </para>
276
265
        </listitem>
277
266
      </varlistentry>
295
284
        <replaceable>TEXT</replaceable></option></term>
296
285
        <listitem>
297
286
          <para>
298
 
            Comment field for key.  Default is empty.
 
287
            Comment field for key.  The default value is
 
288
            <quote><literal>Mandos client key</literal></quote>.
299
289
          </para>
300
290
        </listitem>
301
291
      </varlistentry>
353
343
          </para>
354
344
        </listitem>
355
345
      </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
346
    </variablelist>
373
347
  </refsect1>
374
348
  
407
381
    </variablelist>
408
382
  </refsect1>
409
383
  
410
 
  <refsect1 id="files">
 
384
  <refsect1 id="file">
411
385
    <title>FILES</title>
412
386
    <para>
413
387
      Use the <option>--dir</option> option to change where
434
408
        </listitem>
435
409
      </varlistentry>
436
410
      <varlistentry>
437
 
        <term><filename class="directory">/tmp</filename></term>
 
411
        <term><filename>/tmp</filename></term>
438
412
        <listitem>
439
413
          <para>
440
414
            Temporary files will be written here if
475
449
    </informalexample>
476
450
    <informalexample>
477
451
      <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>.
 
452
        Prompt for a password, encrypt it with the key in
 
453
        <filename>/etc/mandos</filename> and output a section suitable
 
454
        for <filename>clients.conf</filename>.
481
455
      </para>
482
456
      <para>
483
457
        <userinput>&COMMANDNAME; --password</userinput>
516
490
  <refsect1 id="see_also">
517
491
    <title>SEE ALSO</title>
518
492
    <para>
519
 
      <citerefentry><refentrytitle>intro</refentrytitle>
520
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
521
493
      <citerefentry><refentrytitle>gpg</refentrytitle>
522
494
      <manvolnum>1</manvolnum></citerefentry>,
523
495
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
525
497
      <citerefentry><refentrytitle>mandos</refentrytitle>
526
498
      <manvolnum>8</manvolnum></citerefentry>,
527
499
      <citerefentry><refentrytitle>mandos-client</refentrytitle>
528
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
529
 
      <citerefentry><refentrytitle>ssh-keyscan</refentrytitle>
530
 
      <manvolnum>1</manvolnum></citerefentry>
 
500
      <manvolnum>8mandos</manvolnum></citerefentry>
531
501
    </para>
532
502
  </refsect1>
533
503