fix ssh for ubuntu 22.04

This commit is contained in:
mercury
2023-02-18 00:35:57 +04:00
parent 9166011608
commit 4cb700f772
8 changed files with 19 additions and 8 deletions
+1
View File
@@ -1,3 +1,4 @@
rm /ssh/key*
ssh-keygen -m PEM -t rsa -f /ssh/key -N ''
openssl req -newkey rsa:2048 -sha256 -nodes -x509 -days 365 -keyout /certs/self_private -out /certs/self_public -subj "/C=NN/ST=N/L=N/O=N/CN=$(curl https://ipinfo.io/ip)"
php init.php