Skip to content

Eternal Center

  • Single Node (单节点)
    • System (系统)
    • Service (服务)
    • Database (数据库)
    • Container (容器)
    • Virtualization (虚拟化)
  • Multi Node (多节点)
    • Cluster (集群)
    • Big Data (大数据)
    • Cloud Computing (云计算)
    • Batch Processing (批量处理)
  • Other (其它)
    • Ideas (思路)
    • Language (语言)
    • Project (项目)
  • Eternity (永恒)
    • Creations (创作)
    • Classics (经典)
    • Chronicle (编年史)
    • News (消息)
Posted on May 14, 2022June 19, 2022 by Mingyu Zhu

[排错] 解决 Linux SSH “PasswordAuthentication no” 参数不起作用

  • 分析
  • 解决方法

分析

如果以前成功密码 SSH 登录过目标服务器,那启用 SSH 的 ChallengeResponseAuthentication 参数可能会影响 PasswordAuthentication 参数的效果

解决方法

# vim /etc/ssh/sshd_conf

将其中的:

......
# ChallengeResponseAuthentication yes
......

修改为:

......
ChallengeResponseAuthentication no
......
CategoriesChinese (中文), System (系统), System Login Security (系统登录安全), System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志), System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件), System Security (系统安全), System Setting (系统设置)

Post navigation

Previous PostPrevious [内容] Linux 内核奔溃后临时自动恢复的开启
Next PostNext [内容] Rocky Linux 8 & RHEL 8 cockpit (Web Console) 的管理

Aspiration (愿景):

Everyone can achieve self achievement and self happiness fairly

每个人都能公平地实现自我成就和自我幸福

Position (位置):

Running on Evolution Host and DigitalOcean

正在 Evolution Host 和 DigitalOcean 上运行

Logo (徽标):

Additional Information (其他信息):

About Manual Clone Contact
Disclaimer Donation Friendly Links
关于 说明书 克隆 联系
免责申明 捐赠 友情链接

Standby IP Address (备用 IP 地址):

152.69.204.95  150.230.63.10  Please configure before use / 请先配置再使用

Search Outside Website (站外搜索):

Google Wikipedia Bing
Proudly powered by LNMP Proudly powered by WordPress