甲骨文vps开通后默认使用密钥登录。 可使用密钥登录后,运行以下代码设置root登录及密码。 echo root:1212121(改为自己的密码) |sudo chpasswd rootsudo sed -i 's/^#\?PermitRootLogin./PermitRootLogin …