前言:
2小时前, 日本阿里主机,又连接不上。 看了一眼操作记录这么多次!!!
从 top 中看到 前两都是 阿里云服务,主机硬盘 I/O 封顶。就去找在线客服问怎么删除,指导下也没成功。 重做了一台,从头开始安装。但成功移除掉 阿里 3+1 服务。
SSH 配置 :
1. 用 Ali "远程连接" 登录主机
2. 修改如下:
- 重置 root 密码
- 编辑 /etc/ssh/sshd_config 确保以下没有被注释“#”
- PasswordAuthentication yes
- ChallengeResponseAuthentication no
- UsePAM yes
- 重载入 systemd 配置 sudo systemctl daemon-reload
- 重启 ssh 服务 sudo systemctl restart ssh
- 设置 ssh 自启动 sudo systemctl enable ssh