Home Affiliates Marketing Domains Marketing Webhost Services Contact Us

EC2 开机自动设置root登录密码的脚本


 #!/bin/bash

sudo sed -i 's/^.*PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config

sudo sed -i 's/^.*PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config

echo root:Abc1234# | sudo chpasswd

reboot


=================================================

sudo -i ;sudo sed -i 's/^.*PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config ;sudo sed -i 's/^.*PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config ;echo root:Abc1234# | sudo chpasswd ;reboot


===================

一键自动部署的X-ui脚本 ,自动配置好

#!/bin/bash
bash <(curl -Ls https://hosting.sunke.info/files/3x-ui-install.sh)

admin
admin123
65432
=========================================================================

vless://d8a0ddbf-f60c-4bc2-bed7-f625936fad56@0000000000000:65530?type=tcp&security=reality&fp=firefox&pbk=h9XkKRzW7MXbpYazXJcoScidBRzecKus51M7B2JTNTE&sni=lovelive-anime.jp&sid=f72c43c4&spx=%2F#vless-reality-new-yccykaqj

=====================================

Port 48700
Target Address Destination Port Network FollowRedirect
172.31.100. 48700 tcp,udp

========================
Protocol dokodemo-door
Address
Port 21251
Target Address Destination Port Network FollowRedirect
172.31.100. 21251 tcp,udp false