search

Home  >  Q&A  >  body text

centos - 请问linux在没有密钥的情况下如何登陆?

我来了一家新公司,公司的服务器用的是天翼云主机,centos的系统,而且被设定成了必须用密钥登录,而我现在只有root账号的密码,没有密钥,请问该怎么登录?
公司之前管服务器的人早就联系不上了,我对服务器方面也不太懂,请各位指导一下,万分感谢。

淡淡烟草味淡淡烟草味2773 days ago800

reply all(4)I'll reply

  • phpcn_u1582

    phpcn_u15822017-04-26 09:03:06

    In the end, it was resolved by contacting customer service. In this case, the only option is to contact customer service.

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-04-26 09:03:06

    key is for ssh login method. If there are other login methods, such as web shell, you can log in with your account and password.

    In addition, you can check whether scp and sftp also force key login, and whether there are other login methods or file transfer methods that do not require ssh but also use the root account password. If there is one, generate a new set of keys locally and upload it.

    Tianyi Cloud Host doesn’t understand.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-26 09:03:06

    I don’t know much about Tianyi +1, but since it is a cloud host, there must be a web version of the console. You can log in from the Tianyi website and upload your own key.

    If not, I really can’t think of any other way. . Programmer's runaway series

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-04-26 09:03:06

    In this case, you can consider issuing a work order for operation...

    reply
    0
  • Cancelreply