我在CentOS
上创建了Google Compute Engine
网络面板。
在设置结束时,我的username
为root
,而password
是' ssh root服务器密码'。 google compute engine
没有使用ssh
个密码,那么我应该如何登录CentOS
网络面板?
答案 0 :(得分:1)
不仅Google Compute Engine,所有Cloud Instances Compute都使用SSH密钥对登录VPS / Server。 在这种情况下,在完成Centos Web Panel的设置后,重新启动服务器并登录到SSH(与之前相同,使用密钥对),然后通过此命令为root用户设置密码并提交新的密码密码:
sudo passwd
重新启动服务器:重新启动
现在您可以登录您的CWP:http://your_ip:2030/
答案 1 :(得分:0)
在您的情况下,我建议您为root设置密码,然后为CentOS
Web Panel使用新的root密码。
当我安装WebMin on **Google Compute Centos**, then i also set the first time root password and used it for
WebMin`登录时。
准备......
########################################### [100%]
操作系统是CentOS Linux 1:webmin
########################################### [100%]
Webmin
安装完成。您现在可以登录https://mymachineIP:10000/
root用root密码。
答案 2 :(得分:0)
我知道这是一个老问题,但是发布此问题,以便任何新手都可以使用。 这是我的经验。
首先请确保您的加密算法是什么。
确保使用sudo -s
获得root访问权限。
使用authconfig --test
检查哪种加密算法。如果您收到“密码哈希算法是解密的”,则必须先设置。
使用authconfig --passalgo=ENCRYPTION_ALGORITHM --update
。
其中加密算法可能是SHA-512,SHA-256,MD-5。
之后,您可以通过passwd
命令创建新密码。
输入密码,然后按Enter。您的密码将不会显示在终端中。
然后重新输入密码,按Enter键。
然后进入登录页面,然后输入新创建的密码作为密码。
以供进一步参考-http://forum.centos-webpanel.com/centos-webpanel/how-to-fix-encryption-error-on-login/