ifixkart-admin/test_ssh.py
Adithiyan bbd3a3e959 feat: initial commit — full platform snapshot
- Backend: FastAPI app with all models, services, schemas, routes
- Admin Panel: Next.js dashboard with all modules
  (CRM, POS, repairs, warranties, billing, notifications, etc.)
- Ecommerce: storefront (submodule) + product catalog
- AI Agents: .agents/ skill library for Antigravity IDE
- Docs: architecture, billing, notification gateway markdown
- Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
2026-10-13 12:59:47 +05:30

27 lines
853 B
Python

import paramiko
import sys
client = paramiko.SSHClient()
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
try:
client.connect('80.65.208.73', username='root', password='G7#Zp9!Qv@M2e$XwR8H^K', timeout=10)
print("Connected successfully!")
commands = [
"uptime",
"node -v",
"pm2 list || true",
"ls -la /var/www/fastapi/ifixkart/ || echo 'no backend'",
"ls -la /var/www/html/ifixkart/ || echo 'no storefront'",
"ls -la /var/www/html/ifixkartdev/ || echo 'no admin'"
]
for cmd in commands:
print(f"--- {cmd} ---")
stdin, stdout, stderr = client.exec_command(cmd)
print(stdout.read().decode())
err = stderr.read().decode()
if err:
print("ERR:", err)
except Exception as e:
print("Failed:", e)
finally:
client.close()