File: pam_ssh_add.xml

package info (click to toggle)
cockpit 239-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 67,268 kB
  • sloc: javascript: 245,474; ansic: 72,273; python: 23,634; xml: 6,155; sh: 2,919; makefile: 923; sed: 5
file content (97 lines) | stat: -rw-r--r-- 3,068 bytes parent folder | download | duplicates (2)
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<refentry id="pam_ssh_add.8">

  <!--
  This file is part of Cockpit.

  Copyright (C) 2015 Red Hat, Inc.

  Cockpit is free software; you can redistribute it and/or modify it
  under the terms of the GNU Lesser General Public License as published by
  the Free Software Foundation; either version 2.1 of the License, or
  (at your option) any later version.

  Cockpit is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
  -->

  <refentryinfo>
    <title>pam_ssh_add</title>
    <productname>pam_ssh_add</productname>
  </refentryinfo>

  <refmeta>
    <refentrytitle>pam_ssh_add</refentrytitle>
    <manvolnum>8</manvolnum>
  </refmeta>

  <refnamediv>
    <refname>pam_ssh_add</refname>
    <refpurpose>PAM module to auto load ssh keys into an agent</refpurpose>
  </refnamediv>

  <refsect1><title>DESCRIPTION</title>
  <para>
    pam_ssh_add provides authentication and session modules that
    allow users to start their session with a running ssh-agent with as
    many ssh keys loaded as possible.
  </para>
  <para>
    If used, the authentication module simply stores the authentication
    token for later use by the session module. Because this module performs
    no actual authentication it returns PAM_CRED_INSUFFICIENT on success and
    should always be accompanied by an actual authentication module in your
    pam configuration.
  </para>
  <para>
    By default the session module will start a new ssh-agent and run
    ssh-add, loading any keys that exist in the default path for the
    newly logged in user. If any keys prompt for a password, and a authentication
    token was successfully stored, that token will be provided as the password.
  </para>

  </refsect1>

  <refsect1 id="options">
    <title>Options</title>
    <variablelist>
      <varlistentry id="debug">
        <term><option>debug</option></term>
          <listitem>
            <para>This option will turn on debug logging to syslog.</para>
          </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <informalexample>
      <programlisting>
        auth     required  pam_unix.so
        auth     optional  pam_ssh_add.so
        session  optional  pam_ssh_add.so
      </programlisting>
    </informalexample>

  </refsect1>

  <refsect1>
    <title>AUTHOR</title>
    <para>Cockpit has been written by many
      <ulink url="https://github.com/cockpit-project/cockpit/">contributors</ulink>.</para>
  </refsect1>

  <refsect1>
    <title>BUGS</title>
    <para>
      Please send bug reports to either the distribution bug tracker or the
      <ulink url="https://github.com/cockpit-project/cockpit/issues/new">upstream bug tracker</ulink>.
    </para>
  </refsect1>

</refentry>