Skip to content

Instantly share code, notes, and snippets.

@marmarek
Created March 19, 2018 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marmarek/223ea39d120b90e9571dfe37595b60d1 to your computer and use it in GitHub Desktop.
Save marmarek/223ea39d120b90e9571dfe37595b60d1 to your computer and use it in GitHub Desktop.
mirage-ssh-agent systemd based client
#~/.config/systemd/user/ssh-agent.socket
[Unit]
Description=ssh-agent client
WantedBy=sockets.target
[Socket]
ListenStream=%t/ocaml-ssh-agent.socket
Accept=yes
# ~/.config/systemd/user/ssh-agent@.service
[Service]
ExecStart=/usr/bin/qrexec-client-vm "" qubes.SshAgent
StandardOutput=socket
StandardInput=socket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment