upd
This commit is contained in:
12
v2.sh
Normal file
12
v2.sh
Normal 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
|
||||
Reference in New Issue
Block a user