This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
killruana
/
dotfiles
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add a ssh-agent systemd service
master
Jonathan Tremesaygues
4 months ago
parent
de21875d24
commit
e0ed9aa794
4 changed files
with
13 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-0
dot_config/systemd/.keep
+0
-0
dot_config/systemd/user/.keep
+12
-0
dot_config/systemd/user/ssh-agent.service
+1
-0
dot_pam_environment
+ 0
- 0
dot_config/systemd/.keep
View File
+ 0
- 0
dot_config/systemd/user/.keep
View File
+ 12
- 0
dot_config/systemd/user/ssh-agent.service
View File
@ -0,0 +1,12 @@
[Unit]
Description
=
SSH key agent
[Service]
Type
=
simple
Environment
=
SSH_AUTH_SOCK=%t/ssh-agent.socket
# DISPLAY required for ssh-askpass to work
Environment
=
DISPLAY=:0
ExecStart
=
/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy
=
default.target
+ 1
- 0
dot_pam_environment
View File
@ -0,0 +1 @@
SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/ssh-agent.socket"
Write
Preview
Loading…
Cancel
Save