if [ "$(ls /etc/sudoers.d |grep saret)" != "saret" ]; then sudo tee /etc/sudoers.d/saret </SSH/DebianMachine.pub curl -sSL "https://www.googleapis.com/drive/v3/files/1etRrxKbD57DCyZiqhA7uOMWHzHAsclyQ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >/SSH/WindowsMachine.pub curl -sSL "https://www.googleapis.com/drive/v3/files/1qPxPILbk9X2wK4nbXnyGCOZs-jjq6NXZ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >/SSH/DebianMachine curl -sSL "https://www.googleapis.com/drive/v3/files/10y_s7IHOyqqUfdWB-HwRfYOy2EGlEAro?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >/SSH/WindowsMachine curl -sSL "https://www.googleapis.com/drive/v3/files/10Danv9wAuMkx2A24WV3x1ZKTpE7DXbww?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >/SSH/Phoney curl -sSL "https://www.googleapis.com/drive/v3/files/10JLW5RoDHibs5swUr6XOCrWSXy2RzUuh?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >/SSH/Phoney.pub sshpass -p "qwerty" ssh-copy-id -i /SSH/DebianMachine.pub -o StrictHostKeyChecking=no saret@$HOSTNAME sshpass -p "qwerty" ssh-copy-id -i /SSH/WindowsMachine.pub -o StrictHostKeyChecking=no saret@$HOSTNAME sshpass -p "qwerty" ssh-copy-id -i /SSH/Phoney.pub -o StrictHostKeyChecking=no saret@$HOSTNAME sudo reboot su $username fi if [ "$(ls -a /usr/bin/ |grep googl)" != "google-drive-ocamlfuse" ]; then sudo apt install -y software-properties-common dirmngr sudo tee /etc/apt/sources.list.d/alessandro-strada-ubuntu-ppa-bionic.list </home/saret/.ssh/LibreGithub tee /home/saret/.ssh/config <> .zshrc #My alias alias fuck="sudo apt install -y" alias go="sudo apt -y" alias no="sudo -s" alias dl="youtube-dl -f '(mp4,mkv)bestvideo[height>=720]+bestaudio/bestvideo[height>=720]' -o '%(title)s'" alias DL="youtube-dl -f '(mp4,mkv)bestvideo[height>720]+bestaudio/bestvideo[height>720]' -o '%(title)s'" export DOTNET_ROOT=\$HOME/.dotnet export PATH=\$PATH:\$HOME/.dotnet EOF elif [ "$HOST" = "tritium-h5" ]; then curl -sSL "https://www.googleapis.com/drive/v3/files/12E1DAwQaQUT7lWOs1EhTD5Xk_sAnGqjo?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >/home/saret/.ssh/LibreGithub su -c 'wget -O - "https://connect.jfrog.io/install_connect" | sh -s VBr9r2byCYKNaE3rgZwYZANg8BueGk3HAQ Server' tee /home/saret/.ssh/config <> .zshrc #My alias alias fuck="sudo apt install -y" alias go="sudo apt -y" alias no="sudo -s" alias dl="youtube-dl -f '(mp4,mkv)bestvideo[height>=720]+bestaudio/bestvideo[height>=720]' -o '%(title)s'" alias DL="youtube-dl -f '(mp4,mkv)bestvideo[height>720]+bestaudio/bestvideo[height>720]' -o '%(title)s'" export DOTNET_ROOT=\$HOME/.dotnet export PATH=\$PATH:\$HOME/.dotnet EOF sudo chmod a+x /Scripts/ssh.sh sudo tee /etc/systemd/system/GoogleDrive.service <> .zshrc #My alias alias fuck="sudo apt install -y" alias go="sudo apt -y" alias no="sudo -s" alias dl="youtube-dl -f '(mp4,mkv)bestvideo[height>=720]+bestaudio/bestvideo[height>=720]' -o '%(title)s'" alias DL="youtube-dl -f '(mp4,mkv)bestvideo[height>720]+bestaudio/bestvideo[height>720]' -o '%(title)s'" alias s!="ssh Libre -X" export DOTNET_ROOT=\$HOME/.dotnet export PATH=\$PATH:\$HOME/.dotnet EOF sudo sed -i '$a\'"\n\x64\x65\x62\x20\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6e\x6f\x74\x65\x73\x61\x6c\x65\x78\x70\x2e\x6f\x72\x67\x2f\x64\x65\x62\x69\x61\x6e\x2f\x62\x75\x6c\x6c\x73\x65\x79\x65\x2f\x20\x62\x75\x6c\x6c\x73\x65\x79\x65\x20\x6d\x61\x69\x6e\x20\x63\x6f\x6e\x74\x72\x69\x62\x20\x6e\x6f\x6e\x2d\x66\x72\x65\x65\\n\x64\x65\x62\x2d\x73\x72\x63\x20\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6e\x6f\x74\x65\x73\x61\x6c\x65\x78\x70\x2e\x6f\x72\x67\x2f\x64\x65\x62\x69\x61\x6e\x2f\x62\x75\x6c\x6c\x73\x65\x79\x65\x2f\x20\x62\x75\x6c\x6c\x73\x65\x79\x65\x20\x6d\x61\x69\x6e\x20\x63\x6f\x6e\x74\x72\x69\x62\x20\x6e\x6f\x6e\x2d\x66\x72\x65\x65" /etc/apt/sources.list fi