CSDN热搜
安装 openssh-server sudo apt-get install openssh-server复制代码 修改配置文件 vim /etc/ssh/sshd_config复制代码找到配置项LoginGraceTime 120PermitRootLogin prohibit-passwordStrictModes yes复制代码把 prohibit-password 改为 yes,如下:LoginGraceTime 120PermitRootLogin yesStrictModes yes复制代码
安装 ntpdate sudo apt-get -y install ntpdate复制代码 配置 crontab,添加定时任务 crontab -e0 */1 * * * ntpdate time1.aliyun.com复制代码
使用道具 举报
本版积分规则 回帖并转播 回帖后跳转到最后一页
程序园优秀签约作者
0
粉丝关注
16
主题发布