Ubuntu在用root账户使用xftp连接时提示拒绝连接

一般来说Linux不允许使用root账户连接,修改配置

vi /etc/ssh/sshd_config 

#Authentication:
LoginGraceTime 120
PermitRootLogin prohibit-password
StrictModes yes
PermitRootLogin参数修改为yes
#Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes

猜你喜欢

转载自www.cnblogs.com/gcgc/p/10123514.html