Capture Neko/WG/network hubs, Studio viewer charts, physical deploy docs, and one-shot scripts so VPS vs physical can be toggled later without losing WIP. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
604 B
Python
10 lines
604 B
Python
# -*- coding: utf-8 -*-
|
|
import sys, paramiko
|
|
sys.stdout.reconfigure(encoding="utf-8", errors="replace")
|
|
c = paramiko.SSHClient()
|
|
c.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
|
c.connect("192.227.152.110", 22, "root", "Leaf448772566", timeout=30, allow_agent=False, look_for_keys=False)
|
|
_, o, _ = c.exec_command("cat /www/server/panel/vhost/nginx/well-known/miniflux.smallzhiyuns.com.conf; echo ---; cat /www/server/panel/vhost/rewrite/miniflux.smallzhiyuns.com.conf; echo ---; ls /www/server/panel/vhost/nginx/extension/miniflux.smallzhiyuns.com", timeout=10)
|
|
print(o.read().decode())
|
|
c.close()
|