Debian Codegraph @

doc/output/man/pam_ssh_add.8

raw
1 '\" t
2 .\" Title: pam_ssh_add
3 .\" Author: [see the "AUTHOR(S)" section]
4 .\" Generator: Asciidoctor 2.0.26
5 .\" Date: 2026-09-23
6 .\" Manual: cockpit
7 .\" Source: cockpit
8 .\" Language: English
9 .\"
10 .TH "PAM_SSH_ADD" "8" "2026-09-23" "cockpit" "cockpit"
11 .ie \n(.g .ds Aq \(aq
12 .el .ds Aq '
13 .ss \n[.ss] 0
14 .nh
15 .ad l
16 .de URL
17 \fI\\$2\fP <\\$1>\\$3
18 ..
19 .als MTO URL
20 .if \n[.g] \{\
21 . mso www.tmac
22 . am URL
23 . ad l
24 . .
25 . am MTO
26 . ad l
27 . .
28 . LINKSTYLE blue R < >
29 .\}
30 .SH "NAME"
31 pam_ssh_add \- PAM module to auto load ssh keys into an agent
32 .SH "DESCRIPTION"
33 .sp
34 \fBpam_ssh_add\fP provides authentication and session modules that allow users
35 to start their session with a running ssh\-agent with as many ssh keys
36 loaded as possible.
37 .sp
38 If used, the authentication module simply stores the authentication
39 token for later use by the session module. Because this module performs
40 no actual authentication it returns PAM_CRED_INSUFFICIENT on success and
41 should always be accompanied by an actual authentication module in your
42 pam configuration.
43 .sp
44 By default the session module will start a new ssh\-agent and run
45 ssh\-add, loading any keys that exist in the default path for the newly
46 logged in user. If any keys prompt for a password, and a authentication
47 token was successfully stored, that token will be provided as the
48 password.
49 .SH "OPTIONS"
50 .sp
51 \fBdebug\fP
52 .RS 4
53 This option will turn on debug logging to syslog.
54 .RE
55 .SH "EXAMPLES"
56 .sp
57 .if n .RS 4
58 .nf
59 .fam C
60 auth\& required\& pam_unix.so
61 auth\& optional\& pam_ssh_add.so
62 session\& optional\& pam_ssh_add.so
63 .fam
64 .fi
65 .if n .RE
66 .SH "BUGS"
67 .sp
68 Please send bug reports to either the distribution bug tracker or the \c
69 .URL "https://github.com/cockpit\-project/cockpit/issues/new" "upstream bug tracker" "."
70 .SH "AUTHOR"
71 .sp
72 Cockpit has been written by many
73 .URL "https://github.com/cockpit\-project/cockpit" "contributors" "."