|
@@ -67,7 +67,7 @@ install_inicial() {
|
|
|
}
|
|
}
|
|
|
#CONFIGURAR SSH-ROOT PRINCIPAL AMAZON, GOOGLE
|
|
#CONFIGURAR SSH-ROOT PRINCIPAL AMAZON, GOOGLE
|
|
|
pass_root() {
|
|
pass_root() {
|
|
|
- wget -O /etc/ssh/sshd_config https://raw.githubusercontent.com/NetVPS/Multi-Script/main/Otros/sshd_config >/dev/null 2>&1
|
|
|
|
|
|
|
+ wget -O /etc/ssh/sshd_config https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/Otros/sshd_config >/dev/null 2>&1
|
|
|
chmod +rwx /etc/ssh/sshd_config
|
|
chmod +rwx /etc/ssh/sshd_config
|
|
|
service ssh restart
|
|
service ssh restart
|
|
|
msgi -bar
|
|
msgi -bar
|
|
@@ -264,7 +264,8 @@ install_vps_mx_85_oficial() {
|
|
|
wget -O /bin/resetsshdrop https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/VPS-MX-8.5-Final%20Oficial/Otros/resetsshdrop &>/dev/null
|
|
wget -O /bin/resetsshdrop https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/VPS-MX-8.5-Final%20Oficial/Otros/resetsshdrop &>/dev/null
|
|
|
chmod +x /bin/resetsshdrop
|
|
chmod +x /bin/resetsshdrop
|
|
|
grep -v "^PasswordAuthentication" /etc/ssh/sshd_config >/tmp/passlogin && mv /tmp/passlogin /etc/ssh/sshd_config
|
|
grep -v "^PasswordAuthentication" /etc/ssh/sshd_config >/tmp/passlogin && mv /tmp/passlogin /etc/ssh/sshd_config
|
|
|
- echo "PasswordAuthentication yes" -e "\e[1;92m >> INSTALACION COMPLETADA <<" >>/etc/ssh/sshd_configecho && msgi -bar2
|
|
|
|
|
|
|
+ echo "PasswordAuthentication yes" -e "\e[1;92m >> INSTALACION COMPLETADA <<" >>/etc/ssh/sshd_config
|
|
|
|
|
+ echo && msgi -bar2
|
|
|
rm -rf /usr/local/lib/systemubu1 &>/dev/null
|
|
rm -rf /usr/local/lib/systemubu1 &>/dev/null
|
|
|
rm -rf /etc/versin_script &>/dev/null
|
|
rm -rf /etc/versin_script &>/dev/null
|
|
|
v1=$(curl -sSL "https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/VPS-MX-8.5-Final%20Oficial/Otros/Version")
|
|
v1=$(curl -sSL "https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/VPS-MX-8.5-Final%20Oficial/Otros/Version")
|