Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我错误地编辑了/etc/deny.hosts文件并添加了以下条目- ALL: ALL. 现在,我无法通过 SSH 访问它。经过搜索,我发现它拒绝所有用户访问系统。有没有人知道如何克服这个问题?
/etc/deny.hosts
ALL: ALL
如果 Instance 的 Root 设备是 EBS,以下步骤将帮助您摆脱这种情况。
Instance1
Instance2
lsblk
deny.hosts
/mountpath/etc/deny.hosts