🔥实时更新 频道/群组搜索 登录
TG资源网
EdNovas的小站 12-30 08:00:59

关于AWS 无法修改root + password登录的问题,原因是 /etc/ssh/sshd_config 文件有个 Include /etc/ssh/sshd_config.d/*.conf ,而这个 /sshd_config.d/*.conf 文件中有个 PasswordAuthentication no 的原因,所以无法登录。 解决方法也很简单,把 /sshd_config.d/*.conf 文件中的 PasswordAuthentication no 改成 PasswordAuthentication yes 或者直接删除 Include /etc/ssh/sshd_config.d/*.conf 查了下网上均没有提及到这个问题,故记录一下。 🏷 TAG #VPS #aws #lightsail 📢 Channel @ednovas2 👥 Group @ednovas4

附件:[图片]