报错
解决
修改配置文件,在终端输入
gedit /etc/ssh/sshd_config
将PermitRootLogin 配成 yes
重启SSH服务,
service ssh restart
再终端执行
ssh localhost
posted on 2023-05-12 09:52 yxchun 阅读(72) 评论(0) 编辑 收藏 举报