在syslog我的 Ubuntu 服务器中,每当我使用 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.
Run Code Online (Sandbox Code Playgroud)
我真的不知道这里发生了什么,因为我不知道什么是 GnuPG 或gpg-agent. 我在 HowToForge 中找到了一个线程,其中用户有类似的问题,并且回答者提到了一些关于 OSSEC 的内容和一些ispconfig我不明白的内容:https : //www.howtoforge.com/community/threads/error-消息登录时通过 ssh.81005/
该gpgconf错误会带来安全问题吗?我如何解决它?有人也可以解释一下是什么gpg-agent吗?
我发现了这个问题。这实际上是因为我将主目录设置为用户没有权限的文件夹。这导致系统无法.gnupg在主文件夹中创建,从而导致错误。
在这里找到答案:chroot、gpg-agent 和 Ubuntu 18.04。
| 归档时间: |
|
| 查看次数: |
5251 次 |
| 最近记录: |