跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • lightsail怎么用密码开机
未分類
4 6 月 2020

lightsail怎么用密码开机

小旭 大佬有话说 :

lightsail怎么用密码开机

本帖最后由 小旭 于 2020-6-4 22:23 编辑

lightsail怎么用密码开机

创建机器的时候设置密码

三国麒麟 大佬有话说 :

本帖最后由 三国麒麟 于 2020-6-4 22:21 编辑

#!/bin/bash
echo root:你的密码 |sudo chpasswd root
sudo sed -i ‘s/^#?PermitRootLogin.*/PermitRootLogin yes/g’ /etc/ssh/sshd_config;
sudo sed -i ‘s/^#?PasswordAuthentication.*/PasswordAuthentication yes/g’ /etc/ssh/sshd_config;
sudo service sshd restart

咖喱给给 大佬有话说 :

三国麒麟 大佬有话说 : 2020-6-4 22:20
#!/bin/bash
echo root:你的密码 |sudo chpasswd root
sudo sed -i ‘s/^#?PermitRootLogin.*/PermitRootLo …

收藏了https://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif

cyberspace 大佬有话说 :

三国麒麟 大佬有话说 : 2020-6-4 22:20
#!/bin/bash
echo root:你的密码 |sudo chpasswd root
sudo sed -i ‘s/^#?PermitRootLogin.*/PermitRootLo …

感谢大佬

三国麒麟 大佬有话说 :

cyberspace 大佬有话说 : 2020-6-4 22:24
感谢大佬

这也是萌咔博客里面剽窃的:lol

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具