找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 21|回复: 0

[OpenWrt] 连接ssh显示access denied

[复制链接]

1883

主题

520

回帖

7366

积分

管理员

积分
7366
发表于 2025-1-7 15:01:27 | 显示全部楼层 |阅读模式
修改/etc/ssh/ssh_config文件,
#PermitRootLogin prohibit-password改为
增加两行:
  1. PermitRootLogin yes
  2. PasswordAuthentication yes
复制代码
然后roboot重启就可以连接了

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表