kentpeacock / rpms / openssh

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