feat: add automation and inspection scripts for Nginx Proxy Manager and Authentik integration

This commit is contained in:
2026-11-12 17:08:14 -05:00
parent 5a70460e89
commit 113ebdc7c5
8 changed files with 262 additions and 7 deletions

9
scripts/cat_21_conf.py Normal file
View File

@@ -0,0 +1,9 @@
import paramiko
c = paramiko.SSHClient()
c.set_missing_host_key_policy(paramiko.AutoAddPolicy())
c.connect('140.44.4.71', username='root', key_filename=r'C:\Users\Snarf\.ssh\id_ed25519_snarfnet', timeout=10)
cmd = "docker exec $(docker ps -q --filter name=nginx-proxy-manager_app) cat /data/nginx/proxy_host/21.conf"
_, o, _ = c.exec_command(cmd)
print(o.read().decode())
c.close()