Skip to content

Claude Code Instructions & Infrastructure Management

Claude Code Instructions & Infrastructure Management

Section titled “Claude Code Instructions & Infrastructure Management”

⚠️ IMPORTANT: This document contains SSH access info and server management commands for Claude Code assistance.

Terminal window
# SSH Access
ssh root@54.39.102.214
# Add SSH key to agent (if needed)
ssh-add ~/.ssh/id_ed25519
# Passphrase: [Stored as GitHub secret SSH_KEY_PASSPHRASE]
# Test connectivity
./scripts/test-proxmox-ssh.sh
Terminal window
# System overview
ssh root@54.39.102.214 "hostname && uptime && free -h"
# Proxmox status
ssh root@54.39.102.214 "pvesh get /nodes && systemctl status pve-cluster"
# Storage status
ssh root@54.39.102.214 "df -h && zpool list"
Terminal window
# List VMs and containers
ssh root@54.39.102.214 "pvesh get /nodes/neve/qemu && pvesh get /nodes/neve/lxc"
# Storage pools
ssh root@54.39.102.214 "pvesh get /storage"
Terminal window
# Network interfaces
ssh root@54.39.102.214 "ip addr show && ip route"
# Test external connectivity
ssh root@54.39.102.214 "ping -c 2 google.com"
  1. Check server status - Always verify the server is responsive
  2. Review current setup - Use health check commands above
  3. Document changes - Update this file and ops/ docs as needed
  1. SSH into server - Use the access commands above
  2. Check resources - Verify CPU/RAM/disk availability
  3. Plan deployment - Consider VM vs container vs bare metal
  4. Document setup - Add new services to infrastructure docs
  1. Gather logs - System logs, Proxmox logs, service-specific logs
  2. Check resources - CPU, memory, disk, network
  3. Test connectivity - Internal and external network
  4. Review recent changes - Git history, system changes
  • ./scripts/test-proxmox-ssh.sh - Test SSH connectivity to Proxmox
  • ./scripts/zitadel-remote-session.sh - Zitadel management (existing)
  • ./scripts/prepare-ssh-key.sh - SSH key preparation (existing)
Terminal window
# Always use error handling
set -euo pipefail
# Always show what you're doing
echo "🔍 Checking server status..."
# Always verify before acting
if ! ssh root@54.39.102.214 "test -f /etc/proxmox-ve/config"; then
echo "❌ Not a Proxmox server!"
exit 1
fi
  • Host OS: Proxmox VE 9.0.10 (Debian 13 base)
  • Hardware: Bare metal OVH server
  • Storage: ZFS on RAID1 NVMe drives
  • Network: Public IPv4 + IPv6 with bridge for VMs
  • Zitadel instance (containerized)
  • Development environment VMs
  • CI/CD runners
  • Monitoring stack
  • Available: 8 cores, 60GB RAM, 384GB storage
  • Reserved: System overhead (~2-4GB RAM)
  • VM Planning: Consider 1-2 GB RAM overhead per VM
  • Performance: High-end Xeon, very fast NVMe storage
  • Reliability: Enterprise hardware, RAID1 redundancy
  • Network: Excellent connectivity (1.1ms to Google)
  • Uptime: Fresh install, expect high availability
  • Always backup before major changes
  • Use Proxmox built-in backup features
  • Monitor resource usage before deployments
  • Keep ZFS pool under 80% capacity
  • Document all VM/container configurations
  • Uses passphrase-protected key
  • Key must be added to ssh-agent
  • Connection is stable and fast
  • Server responds immediately

Last updated: September 19, 2025 Server: neve (54.39.102.214) Proxmox VE: 9.0.10