本地虚拟机
防火墙问题
- 将对应ip加入白名单,或者关闭防火墙
服务器不支持root远程登陆
修改ssh 配置,然后重启
1
2
3
4
5
6
7
8
#/etc/ssh/sshd_config 修改为如下
.....
# Authentication:
LoginGraceTime 2m
PermitRootLogin yes
StrictModes yes
......
修改ssh 配置,然后重启
1
2
3
4
5
6
7
8
#/etc/ssh/sshd_config 修改为如下
.....
# Authentication:
LoginGraceTime 2m
PermitRootLogin yes
StrictModes yes
......