[Others] 通过ssh更新软件遇错:PAM authentication error: Critical error
Tofloor
poster avatar
linpo
deepin
2022-12-15 23:08
Author

我通过SSH登录到一台机器上,想用下面的命令更新软件仓库:

sudo apt update

但在停顿之后看到的是下面的错误消息:

Sudo: PAM authentication error: Critical error - immediate abort

这台机器安装的是 Deepin 20.7 系统,是通过 systemctl 命令启用 ssh 服务的:

sudo systemctl enable ssh

sudo systemctl start ssh

这一步用了默认设置,没有更改 sshd_config 或者 ssh_config 文件。

请问如何设置才能在 ssh 登录的情况下更新系统呢?

Reply Favorite View the author
All Replies
babyfengfjx
Super Moderator
CQA
2022-12-15 23:42
#1
  • 可能只是本次更新过程中对认证程序更新了,可能导致了相关问题,ssh更新这个手段应该是没啥问题。
Reply View the author