标题

https://wangwenzhi.eu.org/images/images/Oracle.png

sudo -i
echo root:password |chpasswd root
sed -i 's/^#\\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
sed -i 's/^#\\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
service sshd restart