sync full source from private myoffice

This commit is contained in:
myoffice-sync
2026-08-05 10:55:09 +00:00
parent 874796c860
commit 405abdfe69
714 changed files with 70352 additions and 234 deletions
+23
View File
@@ -0,0 +1,23 @@
allow run ps1
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
generate key (one time)
ssh-keygen
copy to remote
ssh-copy-id root@192.168.1.215
connect without password
ssh root@192.168.1.215
wsl host folders
cd /mnt/d/WORK/MyOffice
terminal history to file
history > history_for_print.txt
ssh remote
ssh root@192.168.1.215 'systemctl status service.name'
update remote
rsync -r --progress --exclude appsettings*.json _Published/ root@192.168.1.215:/var/www/XXX