Skip to content

Instantly share code, notes, and snippets.

@Gimenz
Last active August 8, 2023 14:17
Show Gist options
  • Save Gimenz/47fa2a400d009a27061aae967831ca08 to your computer and use it in GitHub Desktop.
Save Gimenz/47fa2a400d009a27061aae967831ca08 to your computer and use it in GitHub Desktop.
vpsroot.sh
#!/bin/bash
# Mod By SL
#echo "$crot ALL=(ALL:ALL) ALL" >> /etc/sudoers;
wget -qO- -O /etc/ssh/sshd_config https://raw.githubusercontent.com/fisabiliyusri/Mantap/main/sshd_config;
systemctl restart sshd;
clear;
echo -e "Masukkan Password:";
read -e pwe;
usermod -p `perl -e "print crypt("$pwe","Q4")"` root;
clear;
printf "Mohon Simpan Informasi Akun VPS Ini
============================================
Akun Root (Akun Utama)
Ip address = $(curl -Ls http://ipinfo.io/ip)
Username = root
Password = $pwe
============================================"
echo "";
exit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment