甲骨文云服务器如何密码登录?

 sudo -i切换到root

passwd设置密码

sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;

sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;

最后sudo service sshd restart就可以了

评论

此博客中的热门博文

转onedrive之pyone多网盘篇

ibm免费vps凉了?快来修车换车了,几分钟搭建完v2ray!速度20000+