pam pam_ssh_agent is a PAM module that spawns a ssh-agent and adds identities using the password supplied at login.