smismile

申请就不说了,教程一大堆

注意两点:

1. webserver安装好后需要在安全组中增加http安全规则

2. 默认用的ppk文件验证登录的,麻烦,改为root加密码的方式如下:

#改root密码
sudo passwd root

#改权限
sudo chmod 777 /etc/ssh/sshd_config

#编辑该文件
vi /etc/ssh/sshd_config

#修改内容如下
PermitRootLogin yes
PasswordAuthentication yes //centos此步不需做
UsePAM no

#重启Aws

 

分类:

技术点:

相关文章:

  • 2021-11-07
  • 2022-01-11
  • 2021-12-25
  • 2021-06-24
  • 2021-12-07
  • 2021-04-02
猜你喜欢
  • 2021-12-29
  • 2021-05-17
  • 2021-12-04
  • 2021-12-25
相关资源
相似解决方案