| Server IP : 104.21.93.65 / Your IP : 104.23.197.33 Web Server : Apache System : Linux server.localhost.com 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64 User : pahana ( 1029) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/systemd/user/ |
Upload File : |
[Unit] Description=GnuPG cryptographic agent (ssh-agent emulation) Documentation=man:gpg-agent(1) man:ssh-add(1) man:ssh-agent(1) man:ssh(1) [Socket] ListenStream=%t/gnupg/S.gpg-agent.ssh # See the below link for why we need GSM_SKIP_SSH_AGENT_WORKAROUND: # https://git.gnome.org/browse/gnome-session/tree/gnome-session/main.c?h=3.24.0#n419 # in order to avoid race condition this environment should be set before SSH_AUTH_SOCK ExecStartPre=systemctl --user set-environment GSM_SKIP_SSH_AGENT_WORKAROUND="true" # after creating and binding the service notify environment # no need to test config file because service directly pass fd overwritting the config file ExecStartPost=systemctl --user set-environment SSH_AUTH_SOCK="%t/gnupg/S.gpg-agent.ssh" # before unbinding stop to export that we listen to socket ExecStopPre=systemctl --user unset-environment SSH_AUTH_SOCK ExecStopPost=systemctl --user unset-environment GSM_SKIP_SSH_AGENT_WORKAROUND FileDescriptorName=ssh Service=gpg-agent.service SocketMode=0600 DirectoryMode=0700 [Install] WantedBy=sockets.target