| 1 |
= pam_ssh_add(8) |
| 2 |
|
| 3 |
== Name |
| 4 |
|
| 5 |
pam_ssh_add - PAM module to auto load ssh keys into an agent |
| 6 |
|
| 7 |
== Description |
| 8 |
|
| 9 |
*pam_ssh_add* provides authentication and session modules that allow users |
| 10 |
to start their session with a running ssh-agent with as many ssh keys |
| 11 |
loaded as possible. |
| 12 |
|
| 13 |
If used, the authentication module simply stores the authentication |
| 14 |
token for later use by the session module. Because this module performs |
| 15 |
no actual authentication it returns PAM_CRED_INSUFFICIENT on success and |
| 16 |
should always be accompanied by an actual authentication module in your |
| 17 |
pam configuration. |
| 18 |
|
| 19 |
By default the session module will start a new ssh-agent and run |
| 20 |
ssh-add, loading any keys that exist in the default path for the newly |
| 21 |
logged in user. If any keys prompt for a password, and a authentication |
| 22 |
token was successfully stored, that token will be provided as the |
| 23 |
password. |
| 24 |
|
| 25 |
== Options |
| 26 |
|
| 27 |
*debug*:: |
| 28 |
This option will turn on debug logging to syslog. |
| 29 |
|
| 30 |
== Examples |
| 31 |
|
| 32 |
.... |
| 33 |
auth required pam_unix.so |
| 34 |
auth optional pam_ssh_add.so |
| 35 |
session optional pam_ssh_add.so |
| 36 |
|
| 37 |
.... |
| 38 |
|
| 39 |
== Bugs |
| 40 |
|
| 41 |
include::../partials/bugs.adoc[] |
| 42 |
|
| 43 |
== Author |
| 44 |
|
| 45 |
include::../partials/author.adoc[] |