vps交流

星尘可以密码登陆嘛


找了好久,都没找到改的地方。。。。。。。
我怎么连都连不上小鸡,大佬们都是怎么连Ipv6Only的VPS的?
甲骨文怎么密码登陆的,星尘就怎么登
秘匙登录
以现在互联网的情况,密码登陆损人不利己
本帖最后由 emptysuns 于 2022-2-5 19:48 编辑

  1. #!/bin/bash
  2. echo root:yourpassword |sudo chpasswd root
  3. sudo sed -i ‘s/^#?PermitRootLogin.*/PermitRootLogin yes/g’ /etc/ssh/sshd_config;
  4. sudo sed -i ‘s/^#?PasswordAuthentication.*/PasswordAuthentication yes/g’ /etc/ssh/sshd_config;
  5. sudo service sshd restart

复制代码

不过还是建议密钥登录星尘可以密码登陆嘛

赞(0)
版权声明:本贴采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
帖子名称:《星尘可以密码登陆嘛》
帖子链接:https://bbs.toot.su/75061.html

相关推荐