分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow
也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!
测试环境为腾讯云ubuntu16.04基本环境
1.默认使用ubuntu用户登录,密码为服务器配置时设置的密码,可在重置密码中修改
2.修改 root 密码
sudo passwd root
3.修改配置文件
sudo vi /etc/ssh/sshd_config
找到下面相关配置:
# Authentication:LoginGraceTime 120PermitRootLogin prohibit-passwordStrictModes yes
更改为:
# Authentication:LoginGraceTime 120#PermitRootLogin prohibit-passwordPermitRootLogin yesStrictModes yes
4.重启ssh
sudo service ssh restart
接下来就可以putty使用root登录了