BT宝塔面板登录入口、用户名(账号)和密码全部都忘记了怎么办?很简单,新手站长网分享一条全能命令,一条命令找到你的宝塔账号、密码和安全登录入口信息:
找回宝塔账号密码
如果你忘记了宝塔面板的后台登录地址、登录账户名和登录密码,怎么办?你只需要这条命令即可搞定:
宝塔全能命令:/etc/init.d/bt default
详细方法:
使用ssh登录到你的服务器,什么?服务器密码都忘记了?那就先去找你的服务器提供商找回你的服务器密码,然后使用ssh登录到云服务器(命令:ssh root@你的服务器IP),然后执行宝塔全能命令/etc/init.d/bt default即可找到你的账号、密码以及宝塔面板后台登录地址。
举例:
xinshouzhanzhang:~ xszz$ ssh root@47.120.12.18
root@47.120.12.18's password:
Welcome to Alibaba Cloud Elastic Compute Service !
[root@xinshouzhanzhang ~]# /etc/init.d/bt default
BT-Panel default info!
Bt-Panel: http://IP:8888
username: admin
password: s9c9o0y6
Warning:
If you cannot access the panel,
release the following port (8888|888|80|443|20|21) in the security group
xinshouzhanzhang:~ xszz$ ssh root@47.120.12.18
root@47.120.12.18's password:
Welcome to Alibaba Cloud Elastic Compute Service !
[root@xinshouzhanzhang ~]# /etc/init.d/bt default
BT-Panel default info!
Bt-Panel: http://IP:8888
username: admin
password: s9c9o0y6
Warning:
If you cannot access the panel,
release the following port (8888|888|80|443|20|21) in the security group
网友评论