Skip to main content

Connections

The Connections page is where you manage your Proxmox VE (PVE) and Proxmox Backup Server (PBS) connections. Each connection represents a link between ProxCenter and a Proxmox instance, providing the credentials and access configuration needed to communicate with the Proxmox API and SSH.

Overview​

ProxCenter needs two types of access to fully manage a Proxmox instance:

  • API access -- Used for reading cluster state, managing VMs, monitoring resources, and executing most operations
  • SSH access -- Used for operations that require direct node access, such as disk imports, compliance scans, CVE scanning, and system updates

Adding a Connection​

  1. Navigate to Settings > Connections
  2. Select the Proxmox VE or Proxmox Backup Server tab
  3. Click Add PVE or Add PBS for that connection type
  4. Fill in the connection details and click Save. Save validates reachability and credentials and refuses the connection if validation fails
Add a PVE server dialog on the General tab with Name pve-cluster-a, Owner Provider pool (shared), Base URL https://pve-cluster-a.example.com:8006, Ignore TLS certificate errors off and Behind reverse proxy off
Enter the complete Base URL and API token. Turn off Ignore TLS certificate errors, as shown, to verify the endpoint certificate.

Ignore TLS certificate errors is on by default when adding a connection. Turn it off to verify the endpoint certificate. Behind reverse proxy disables failover to the cluster's node IPs, keeping requests on the configured proxy endpoint. It does not establish certificate trust.

Authentication tab of Add a PVE server with Token ID proxcenter@pve!proxcenter-token, a masked Token Secret and the How to create an API token help with the pveum commands
On the Authentication tab, enter the token ID as user@realm!tokenid and its secret. The help block lists the commands that create the service account and its token.
Add a PVE server dialog on the Authentication tab after Save, with the error PVE authentication failed: PVE 401 above the Token ID and masked Token Secret, and the form left as typed
When the token is refused, Save keeps the dialog open with the error on top: correct the token ID or secret and save again.

PVE Connection Settings​

FieldDescription
NameA friendly name for this connection (e.g., "Production Cluster")
Base URLComplete HTTPS endpoint, including port where needed (for example, https://pve.example.com:8006)
Token IDAPI token in the format user@realm!tokenid
Token SecretThe API token secret
SSH UserSSH username for node access (default: root)
SSH PortSSH port (default: 22)
SSH Key / PasswordAuthentication method for SSH
Replication network (CIDR)Optional, Proxmox VE with SSH enabled. Site Recovery sends its replication stream to this cluster's nodes on their address in this network instead of the management address. See Site Recovery
Ignore TLS certificate errorsTurn off to validate the HTTPS endpoint's certificate
Behind reverse proxyDisable failover to cluster node IPs when using a proxy endpoint
Site Recovery tab of Edit PVE Server with the optional Replication network (CIDR) field set to 198.51.100.0/24
The replication network sits on its own Site Recovery tab of the connection dialog.
SSH tab of Edit PVE Server for PVE-PROD with Enable SSH access on, SSH Port 22, User root, SSH Private Key authentication with a key already configured, passphrase, Use sudo, the SSH address per node fields, and Test SSH Connection reporting a successful connection to pve1, pve2 and pve3
Enable SSH access, choose key or password authentication, then use Test SSH Connection: it checks every node of the cluster before you save.

PBS Connection Settings​

Edit PBS Server dialog on the Authentication tab with Token ID, Token Secret, the captured TLS fingerprint (SHA256) and the Re-capture button
In Edit, the Authentication tab shows the PBS certificate fingerprint captured when the connection was created. Leave the token fields empty to keep the current token.
FieldDescription
NameA friendly name for this PBS instance
Base URLComplete HTTPS endpoint for PBS, normally using port 8007
Token IDAPI token for PBS access
Token SecretThe API token secret
Ignore TLS certificate errorsOn by default for a new connection; turn off to validate the endpoint certificate
Behind reverse proxyDisable failover to node IPs and keep requests on the configured endpoint
TLS fingerprint (SHA256)Captured automatically when the connection is created; review or refresh it in Edit with Capture fingerprint / Re-capture

The PBS fingerprint is used by Proxmox VE to trust PBS, including vDC backup binding. It is separate from ProxCenter's own HTTPS certificate verification. If automatic capture did not obtain a fingerprint, edit the PBS connection and use Capture fingerprint. Use Re-capture after reviewing a PBS certificate change. See PBS fingerprint capture.

API Token Setup​

ProxCenter uses Proxmox API tokens rather than username/password authentication. To create an API token on Proxmox:

  1. Log in to the Proxmox web UI
  2. Go to Datacenter > Permissions > API Tokens
  3. Click Add and select the service user
  4. Keep Privilege Separation enabled for a token with explicit permissions. Assign the required ACLs to both the user and the token; the user's permissions limit what the token can do. Disabling privilege separation instead gives the token the user's permissions
  5. Copy the token ID and secret -- the secret is only shown once
warning

The API token secret is only displayed at creation time. If you lose it, you must create a new token. Store it securely.

These UI steps are for Proxmox VE. PBS token creation and ACLs differ; follow PBS token setup and PBS permissions. Neither PVE nor PBS API connections accept a Proxmox web UI password in place of the token. SSH credentials are separate from API credentials.

Reverse Proxy Configuration​

If your Proxmox instance is behind a reverse proxy (e.g., nginx, Traefik, HAProxy), ensure the proxy forwards WebSocket connections, as ProxCenter uses them for real-time updates. The proxy should pass through the Upgrade and Connection headers.

Diagram of the paths of a Proxmox VE connection. ProxCenter, which checks the certificate of the endpoint it calls unless Ignore TLS certificate errors is on, sends its HTTPS API calls to an optional reverse proxy that forwards the Upgrade and Connection headers, and on to pve1, the node of the Base URL. Dashed failover arrows go from ProxCenter to the node IPs of pve2 and pve3. Teal SSH arrows go directly from ProxCenter to each of pve1, pve2 and pve3. Below the cluster, ProxCenter calls the Proxmox Backup Server on its own HTTPS API, port 8007, and a violet arrow from the cluster to PBS marks the PBS fingerprint, which Proxmox VE uses to trust PBS. A legend note says that with Behind reverse proxy there is no failover: requests stay on the proxy.Diagram of the paths of a Proxmox VE connection. ProxCenter, which checks the certificate of the endpoint it calls unless Ignore TLS certificate errors is on, sends its HTTPS API calls to an optional reverse proxy that forwards the Upgrade and Connection headers, and on to pve1, the node of the Base URL. Dashed failover arrows go from ProxCenter to the node IPs of pve2 and pve3. Teal SSH arrows go directly from ProxCenter to each of pve1, pve2 and pve3. Below the cluster, ProxCenter calls the Proxmox Backup Server on its own HTTPS API, port 8007, and a violet arrow from the cluster to PBS marks the PBS fingerprint, which Proxmox VE uses to trust PBS. A legend note says that with Behind reverse proxy there is no failover: requests stay on the proxy.
The API goes to the Base URL, through your proxy if there is one, while SSH always goes straight to each node. ProxCenter's certificate check and the PBS fingerprint are two separate trusts.
tip

When ProxCenter connects through an HTTPS reverse proxy, keep TLS verification enabled. The proxy must present a certificate trusted by the ProxCenter runtime and valid for the hostname configured in the connection. The proxy-to-Proxmox connection has its own TLS and certificate trust configuration; an internal upstream network does not remove the need to verify the endpoint ProxCenter contacts.

Connection Health​

The connection table reports API health in Status, alongside separate SSH, Type, Version and Nodes columns. A working standalone PVE connection can show Online, Standalone and SSH: No at the same time. Online API access does not mean SSH-dependent operations are configured.

Settings, Connections, Proxmox VE sub-tab with its counters per connection type, Refresh and Add PVE, and two clusters with Name, Tenant / vDC, URL API, Status Online, Version, Type Cluster and Nodes
The Proxmox VE list reports each connection's API status, version, type and nodes. An Online status says nothing about SSH, which is configured per connection.

ProxCenter periodically checks connection health and alerts you if a connection goes down.

XCP-ng Connections​

XCP-ng is a migration source rather than a managed hypervisor: it is declared from Settings > Connections too, with the Add XCP-ng button, but it is used by VM migration rather than by the rest of the dashboard. Two connection modes are available.

Add XCP-ng Connection dialog with the Connection mode list open: XCP-ng pool (direct XAPI) tagged Offline and Warm, Xen Orchestra (XO/XOA) tagged Offline only
Pick the connection mode first: only a direct XAPI connection to the pool allows warm migration.

XCP-ng pool (direct XAPI)​

Connects straight to the pool over the XAPI, without going through Xen Orchestra.

FieldDescription
NameA friendly name for this connection
HostThe pool master's address, or the address of any host in the pool
UsernameAn account with root privileges on the pool (typically root)
PasswordThe account's password

The connection always uses HTTPS. If the host you entered turns out to be a pool slave, ProxCenter follows the HOST_IS_SLAVE redirection to the pool master automatically, so you do not need to look up which host currently holds that role.

Authentication tab of Add XCP-ng Connection with XAPI user root and a masked XAPI password
In XCP-ng pool mode, the Authentication tab takes the pool root account.

This is the mode warm migration requires: it needs direct XAPI access to enable changed block tracking and to read the NBD export of a snapshot, neither of which a Xen Orchestra connection exposes.

Xen Orchestra (XO/XOA)​

The existing connection type: ProxCenter talks to the pool through a Xen Orchestra or XOA instance.

FieldDescription
NameA friendly name for this connection
XO URLThe address of the Xen Orchestra or XOA instance
AccountThe Xen Orchestra user ProxCenter authenticates as

A connection with no mode set is a Xen Orchestra connection.

Through a Xen Orchestra connection, only offline migration is available; warm migration is rejected, since it needs direct access to the pool's XAPI. Offline migration works with either connection mode. See Migration modes for how the mode is picked.

Hyper-V Connections​

Like XCP-ng, a Hyper-V host is a migration source rather than a managed hypervisor: it is declared from Settings > Connections with the Add Hyper-V button and used by VM migration. ProxCenter talks to the host over WinRM (PowerShell remoting on TCP 5985, HTTP Basic authentication) and reads the VHDX files through an SMB share during the migration.

Prerequisites on the Hyper-V host​

Run these commands in an elevated PowerShell on the Hyper-V server (they are also shown in the connection dialog):

# Enable WinRM remote management with Basic authentication over HTTP
Enable-PSRemoting -Force
Set-Item -Path WSMan:\localhost\Service\Auth\Basic -Value $true
Set-Item -Path WSMan:\localhost\Service\AllowUnencrypted -Value $true

# Share the folder that holds the virtual disks (works in any language)
$everyone = New-Object Security.Principal.SecurityIdentifier("S-1-1-0")
$account = $everyone.Translate([Security.Principal.NTAccount]).Value
New-SmbShare -Name "VMs" -Path "C:\Path\To\Your\VMs" -FullAccess $account
Add Hyper-V Server dialog on the General tab with the PowerShell commands to run on the host, Name hyperv-01 and Hyper-V Host hyperv-01.example.com
The dialog repeats the PowerShell commands to run on the Hyper-V host before you add it.

Three points are easy to miss:

  • Use a local account of the Hyper-V host, member of the local Administrators group. WinRM Basic authentication does not accept domain accounts. A successful Enter-PSSession or winrs from another Windows machine proves nothing here: those use Kerberos or Negotiate, not Basic.
  • The Hyper-V PowerShell module must be installed on the host (Get-Command Get-VM must succeed). Installing the role through Server Manager includes it; Install-WindowsFeature Hyper-V without -IncludeManagementTools does not.
  • TCP 5985 must be reachable from the machine that runs ProxCenter. The firewall rule created by Enable-PSRemoting on a Public network profile only allows the local subnet.

Connection settings​

FieldDescription
NameA friendly name for this connection
Hyper-V HostHostname or IP address of the Hyper-V server
UsernameThe local administrator account used for WinRM
PasswordThe account's password
SMB Share NameName of the share created above that contains the VHDX files (default VMs)

The Ignore TLS certificate errors switch has no effect on Hyper-V: the WinRM session always uses plain HTTP on port 5985 with the commands above.

Authentication tab of Add Hyper-V Server with Username Administrator, a masked Password and SMB Share Name VMs
Enter a local administrator account of the host and the name of the share that holds the virtual disks.

Where the share must point​

Share the folder that holds the VMs, not each VM's disk folder. Hyper-V stores a VM's disks under <folder>\<VM name>\Virtual Hard Disks\; ProxCenter reads the local path behind the share (Get-SmbShare) and resolves every disk relative to it, so a share on D:\HYPERV covers D:\HYPERV\vm1\Virtual Hard Disks\vm1.vhdx as well as disks stored directly at the root. The migrate dialog shows, for each disk, the path it will use on the mounted share. If a disk is not found at that path during the migration, ProxCenter searches the share for a file with the same name and uses it when it is unique; the paths can also be typed by hand in the VHDX Disk Paths field.

Diagram of a Hyper-V migration source. ProxCenter, which reads the VMs and their disk paths, talks to the Hyper-V host over WinRM on HTTP port 5985 with a local administrator account, and drives the Proxmox node over SSH; the node mounts the share VMs at /mnt/hyperv over SMB. Inside the Hyper-V host, the share VMs is highlighted on D:\HYPERV, which is /mnt/hyperv from the node. Below it sit vm1\Virtual Hard Disks\vm1.vhdx, vm2\Virtual Hard Disks\vm2.vhdx and disk-at-root.vhdx, seen from the Proxmox node as /mnt/hyperv/vm1/Virtual Hard Disks/vm1.vhdx, /mnt/hyperv/vm2/Virtual Hard Disks/vm2.vhdx and /mnt/hyperv/disk-at-root.vhdx; a note recalls that Hyper-V keeps a VM's disks in <folder>\<VM>\Virtual Hard Disks\. Two cards conclude. Do: share the folder that holds the VMs, as D:\HYPERV covers every VM and the disks at its root. Don't: share one VM's disk folder, as D:\HYPERV\vm1\Virtual Hard Disks covers vm1 only.Diagram of a Hyper-V migration source. ProxCenter, which reads the VMs and their disk paths, talks to the Hyper-V host over WinRM on HTTP port 5985 with a local administrator account, and drives the Proxmox node over SSH; the node mounts the share VMs at /mnt/hyperv over SMB. Inside the Hyper-V host, the share VMs is highlighted on D:\HYPERV, which is /mnt/hyperv from the node. Below it sit vm1\Virtual Hard Disks\vm1.vhdx, vm2\Virtual Hard Disks\vm2.vhdx and disk-at-root.vhdx, seen from the Proxmox node as /mnt/hyperv/vm1/Virtual Hard Disks/vm1.vhdx, /mnt/hyperv/vm2/Virtual Hard Disks/vm2.vhdx and /mnt/hyperv/disk-at-root.vhdx; a note recalls that Hyper-V keeps a VM's disks in <folder>\<VM>\Virtual Hard Disks\. Two cards conclude. Do: share the folder that holds the VMs, as D:\HYPERV covers every VM and the disks at its root. Don't: share one VM's disk folder, as D:\HYPERV\vm1\Virtual Hard Disks covers vm1 only.
Point the share at the folder that holds all your VMs: every disk below it is found, whatever VM folder it sits in.

Requirements on the VM being migrated​

Migration from Hyper-V is offline: ProxCenter copies the virtual disk files as they are, so before starting it the VM must be:

  • powered off (Stop-VM); a running VM's disk is locked and inconsistent;
  • without checkpoints (Get-VMSnapshot -VMName <name> must return nothing). With a checkpoint the active disk is a differencing .avhdx whose parent chain only resolves on the Windows host; remove the checkpoints (Remove-VMSnapshot) so Hyper-V merges them into the base disk.

ProxCenter verifies both over WinRM at the start of the migration and stops with an explicit message otherwise. A failed migration can be relaunched with Retry from the migration dialog.

Windows guests installed with Compact OS

Windows may install itself with system compression ("Compact OS"): its system files are then stored as compressed reparse points, which the NTFS driver of libguestfs only reads through a plugin that Debian, and therefore Proxmox VE, does not ship. Without it virt-v2v ends with No root device found in this operating system image although the disk is readable. ProxCenter builds and installs that plugin (ntfs-3g-system-compression) on the Proxmox node during the migration tooling setup, and checks for it at the start of every virt-v2v migration; the node needs Internet access to fetch it the first time. To check a guest, run compact /compactos:query in an elevated prompt; compact /compactos:never decompresses it if you prefer not to rely on the plugin.

Inventory listing and timing​

The inventory tree lists the guests of every Hyper-V connection by running Get-VM over WinRM. Each remote command starts powershell.exe and imports the Hyper-V module, which takes several seconds on Windows Server 2019, so a host with many virtual disks can need 10 to 20 seconds to answer. ProxCenter waits up to 150 seconds for a Hyper-V listing (15 seconds for the REST-based sources).

Troubleshooting​

  • A host shown as unreachable in the inventory carries the cause in the tooltip of that label, and the same message is written to the ProxCenter server log with a [hyperv] prefix (docker compose logs).
  • The status chip in Settings > Connections reports Error with the WinRM message when the host rejects the credentials.
  • To check WinRM independently of ProxCenter, run from the ProxCenter host: curl -i --basic -u 'Administrator:password' http://HYPERV_HOST:5985/wsman. A 405 Method Not Allowed means the network path, Basic authentication and the account are all fine. A 401 points at the credentials or at Basic authentication being disabled; a timeout at the firewall.

Permissions​

PermissionDescription
connection.viewView configured connections
connection.manageAdd, edit, and delete connections