#!/bin/bash
plain='\033[0m'
red='\e[31m'
yellow='\e[33m'
gray='\e[90m'
green='\e[92m'
blue='\e[94m'
magenta='\e[95m'
cyan='\e[96m'
none='\e[0m'
# Font Size
# h6 = SMALL , h4 = AVERAGE , h3 = LARGE
# Check Root
$EUID -ne 0 && echo -e "${red}Error: ${plain} You must use root user to run this script!\n" && exit 1
$sed -i 's/#\?AllowTcpForwarding .*/AllowTcpForwarding yes/' /etc/ssh/sshd_config && sed -i 's/#\?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config && sed -i 's/#\?Banner .*/Banner \/etc\/ssh\/gcp_404/' /etc/ssh/sshd_config && /etc/init.d/ssh restart;
echo "
▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬
--- ۩ PREMIUM SERVER ۩ ---
--- ۩ SERVER BY ④ ⍤⃝🌻④ ۩ ---
Telegram Channel >> https://t.me/Pmttg
Telegram Channel >> https://t.me/nkka_404
▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬
" | tee /etc/ssh/gcp_404 >/dev/null
useradd "404" --shell=/bin/false -M
echo "404:404" | chpasswd
echo ""
echo "------------------------------------"
printf "Developed the script by \n"
echo "------------------------------------"
echo ""
echo -e "${yellow}▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ${plain}"
echo -e "${cyan} ___ ___ ________ ___ ___ ${plain}"
echo -e "${cyan}|\ \ |\ \ |\ __ \ |\ \ |\ \ ${plain}"
echo -e "${cyan}\ \ \|_\ \ \ \ \|\ \ \ \ \|_\ \ ${plain}"
echo -e "${cyan} \ \______ \ \ \ \/\ \ \ \______ \ ${plain}"
echo -e "${cyan} \|_____|\ \ \ \ \/\ \ \|_____|\ \ ${plain}"
echo -e "${cyan} \ \__\ \ \_______\ \ \__\ ${plain}"
echo -e "${cyan} \|__| \|_______| \|__| ${plain}"
echo -e "${green}Contact the developer https://t.me/nkka404 for more information ${plain}"
echo -e "${yellow}▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ${plain}"
echo -e "${cyan}i am 404 😎 ${plain}"