You are not logged in.

#1 2013-08-14 07:20:39

EvanPurkhiser
Member
From: San Francisco
Registered: 2010-08-17
Posts: 225
Website

systemd-user-pam-ssh - auto decrypt your ssh key during login

Hey guys,

  • Do you use systemd --user to manage your user session?

  • Do you have a ~/.config/systemd/user/ssh-agent.service file?

  • Do you still like to login before having your systemd --user bring up a graphical environment?

  • Do you hate having to type in you password a second time to add your SSH key to your agent?

  • Do you wish you could use pam_ssh or even keychain but can't since you want systemd --user to manage your ssh-agent?

This little script might be able to help you!

This little script can be configured to be executed by pam_exec.so during authentication so that it adds your SSH key to your systemd --user ssh-agent upon login.

Find the repository here

Hope some Arch users can find if of use! Looking for any and all feedback!

Last edited by EvanPurkhiser (2013-08-14 07:21:44)

Offline

Board footer

Powered by FluxBB