在我的Ubuntu服务器的syslog中,每当我使用SSH用户帐户登录时,都会出现一个错误。
systemd[27299]: usr/bin/gpg-agent failed (exitcode=2): General error
systemd[27299]: gpgconf: fatal error (exit status 1)
systemd[27299]: Listening on GnuPG network certificate management daemon.
systemd[27299]: Reached target Timers.
systemd[27299]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
systemd[27299]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
systemd[27299]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
systemd[27299]: Listening on GnuPG cryptographic agent and passphrase cache.我不知道这里发生了什么,因为我不知道什么是GnuPG或gpg-agent。我在HowToForge中找到了一个线程,其中用户有一个类似的问题,一个回答者提到了一些关于ispconfig和一些关于OSSEC的内容,我不明白这一点:https://www.howtoforge.com/community/threads/error-message-when-logging-in-via-ssh.81005/
gpgconf错误会造成安全问题吗?我该怎么解决呢?有人也能解释gpg-agent做什么吗?
发布于 2019-06-26 00:34:18
我发现了问题。这实际上是因为我将主目录设置为用户没有权限的文件夹。这导致系统无法在主文件夹中创建.gnupg,从而导致错误。
在这里找到答案:和Ubuntu 18.04。
https://serverfault.com/questions/972783
复制相似问题