#!/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/
scp -o StrictHostKeyChecking=no -r -i ./id_rsa ./favicon.ico 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 ./index.html 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 ./logo_white.png root@116.204.65.205:/opt/1panel/apps/openresty/openresty/www/sites/www.xn--ghqz22d40r52n.com/index/


