Centos7 基础知识---------root文件夹下没有.ssh文件

  • 问题.

linux root 目录下没有.ssh目录

  • 解决方法

[root@dhcp-server ~]# ssh localhost

  • 原因

.ssh 是记录密码信息的文件夹,如果没有登录过root的话,就没有 .ssh 文件夹,因此登录 localhost ,并输入密码就会生成了。

相关文章:

  • 2021-04-25
  • 2021-04-14
  • 2022-01-30
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2022-01-15
  • 2021-11-28
  • 2021-10-06
  • 2022-12-23
相关资源
相似解决方案