rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone
9070b3
# Requires SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
9070b3
# set in environment, handled for example in plasma via
9070b3
# /etc/xdg/plasma-workspace/env/ssh-agent.sh
9070b3
[Unit]
9070b3
ConditionEnvironment=!SSH_AGENT_PID
9070b3
Description=OpenSSH key agent
9070b3
Documentation=man:ssh-agent(1) man:ssh-add(1) man:ssh(1)
9070b3
9070b3
[Service]
9070b3
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
9070b3
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
9070b3
PassEnvironment=SSH_AGENT_PID
9070b3
SuccessExitStatus=2
9070b3
Type=forking