From 3ac4dc0bce46aafe905ac27f48309f9aa00d9375 Mon Sep 17 00:00:00 2001 From: moonlightwatch Date: Wed, 26 Mar 2025 19:26:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upload.sh b/upload.sh index 7fdfb38..ea60d72 100644 --- a/upload.sh +++ b/upload.sh @@ -1,5 +1,7 @@ #!/bin/bash +chmod 600 id_rsa + ssh -o StrictHostKeyChecking=no -i ./id_rsa root@116.204.65.205 "rm -rf /opt/1panel/apps/openresty/openresty/www/sites/www.xn--ghqz22d40r52n.com/index/*" scp -o StrictHostKeyChecking=no -r -i ./id_rsa ./bg.jpg root@116.204.65.205:/opt/1panel/apps/openresty/openresty/www/sites/www.xn--ghqz22d40r52n.com/index/ scp -o StrictHostKeyChecking=no -r -i ./id_rsa ./bookmarks.html root@116.204.65.205:/opt/1panel/apps/openresty/openresty/www/sites/www.xn--ghqz22d40r52n.com/index/