赞
踩
sudo vi /etc/ssh/sshd_config
# Authentication:
LoginGraceTime 120
#PermitRootLogin without-password # 找到这里,把它注释,
PermitRootLogin yes # 添加这一行,设置为 yes
StrictModes yes
service ssh restart
执行结果:
ssh stop/waiting
ssh start/running, process 26317
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。