ssh-agent.service 225 B

1234567891011
  1. [Unit]
  2. Description=SSH key agent
  3. [Service]
  4. Type=simple
  5. Environment=SSH_AUTH_SOCK=%h/.ssh/socket
  6. ExecStartPre=/usr/bin/rm -f $SSH_AUTH_SOCK
  7. ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
  8. [Install]
  9. WantedBy=default.target