Skip to content

Instantly share code, notes, and snippets.

View OBitsPlease's full-sized avatar

BitsPleaseYT OBitsPlease

View GitHub Profile
@OBitsPlease
OBitsPlease / vps_fix.sh
Created May 27, 2026 04:39
ethii vps fix
#!/bin/sh
mkdir -p /root/.ssh
chmod 700 /root/.ssh
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGKoUyW1Mbu0VCSYJBYO7j8mxu90vBDezHoEQpvMKYCO ethii-vps-copilot" > /root/.ssh/authorized_keys
chmod 600 /root/.ssh/authorized_keys
echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config
service ssh restart
echo "ALL DONE"