How to Upgrade to CloudGen Access Virtual Appliance v1.1.1 and Newer
This guide explains how to upgrade your CloudGen Access Virtual Appliance from your current version to v1.1.1+.
What's New in v1.1.1+
v1.1.1+ is a security hardening release that includes:
Unique SSH Host Keys – Each virtual appliance generates unique SSH keys on first boot.
Brute-Force Protection – Automatic blocking of IP addresses after failed login attempts.
Security Patch CVE-2026-31431 – Kernel crypto module vulnerability fixed.
Hardened SSH Configuration – Reduced authentication attempts to prevent attacks.
Important: v1.1.1+ is fully compatible with v1.1.0. All CGA Proxy and Connector services work identically.
System Requirements
Before starting, confirm your environment meets these requirements.
Note: CentOS images are deprecated and no longer recommended. If you are still hosting a CentOS image, it is strongly recommended to migrate to Ubuntu. Download and deploy the Ubuntu 22.04.5 images from How to Deploy CloudGen Access on a Virtual Appliance.
Minimum:
CPU: 1 vCPU
RAM: 1024 MB
Disk: 20 GB
Network: 1 interface
Recommended:
CPU: 2 vCPU
RAM: 2048 MB
Supported Hypervisors:
VirtualBox 6.1+
VMware Fusion Pro
VMware Workstation Pro
VMware ESXi 6.7+
Hyper-V (requires VHD format conversion)
Upgrade Options
This is the recommended approach. It ensures all security features are properly configured from the start.
Phase 1. Download and Deploy
Download the OVA for your hypervisor here How to Deploy CloudGen Access on a Virtual Appliance.
Verify the download (optional but recommended):
#macOS/Linux: shasum -a 256 zts-virtual-appliance-*.ova #Windows PowerShell: Get-FileHash zts-virtual-appliance-*.ova -Algorithm SHA256Expected checksums here: How to Deploy CloudGen Access on a Virtual Appliance.
Import the OVA (a portable virtual machine file) into your hypervisor:
VirtualBox: File > Import Appliance > Select OVA
VMware: File > Import > Select OVA
Accept the default settings (1 CPU, 1024 MB RAM) or adjust as needed.
Configure the network:
Recommended: Bridged networking (the VM gets its own IP on your network)
Alternative: NAT (the VM shares your host's IP)
Start the VM and log in:
Default credentials:
admin/adminYou will be required to change the password on first login.
The password must be at least 12 characters with uppercase, lowercase, numbers, and special characters.
Phase 2. Configure and Enroll
Configure network settings:
The CLI menu appears automatically after login.
Select option 1 (Configure Network).
Use the network configuration tool
nmtuito set a static IP or DHCP.
Apply system updates:
sudo apt-get update sudo apt-get upgrade -y # Check if a reboot is needed if [ -f /var/run/reboot-required ]; then sudo reboot fiRe-enroll CloudGen Access services:
Generate new enrollment tokens in the CloudGen Access Console.
Use the CLI menu to enroll Proxy and/or Connector.
The enrollment process is identical to previous versions.
Test services:
Verify Proxy and Connector are operational.
Check the CloudGen Access Console to confirm status.
Phase 3. Switch Over
Update DNS or load balancer:
Point traffic to the new virtual appliance's IP address.
Decommission the old virtual appliance:
Once you have verified everything is working, shut down and remove the old virtual appliance.
This option applies security patches but does NOT include all v1.1.1+ security features.
Upgrade limitations: This upgrade addresses CVE-2026-31431 and applies Ubuntu security patches. However, it will not provision unique SSH host keys, fail2ban brute-force protection, or a hardened SSH configuration. For the full security baseline, use Option 1 instead, or apply the manual hardening steps in Troubleshooting > Manual Hardening Steps below.
SSH to your current virtual appliance:
ssh admin@<appliance-ip>Apply the updates:
sudo apt-get update sudo apt-get upgrade -yReboot the virtual appliance. A reboot is required for security patches to take effect.
# Check if a reboot is needed if [ -f /var/run/reboot-required ]; then cat /var/run/reboot-required.pkgs sudo reboot fi
What to Expect After Upgrading
The following applies if you deployed a new v1.1.1+ virtual appliance (Option 1). If you performed an in-place upgrade (Option 2), these features will not be active unless you manually applied the hardening steps in Troubleshooting.
SSH Host Key Warning
When connecting to a v1.1.1+ virtual appliance via SSH, you may see:
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!This is expected as v1.1.1+ generates unique SSH keys for each virtual appliance for security.
To fix the warning:
# Remove the old key
ssh-keygen -R <appliance-ip>
# Connect again
ssh admin@<appliance-ip>fail2ban Protection
The fail2ban security feature automatically blocks IP addresses after failed login attempts:
3 failed attempts in 10 minutes = 1 hour ban
Bans are automatic and temporary (1 hour)
If you get locked out, wait 1 hour for the automatic unban, or see Troubleshooting > Unban IP After Failed Login below to unban immediately.
For shared office IPs, consider increasing the retry limit or adding your IP range to an allow list. See Customizing Security Settings below.
System Updates Available
On first login, you may see a message like: 5 updates can be applied immediately.
This is normal. These are packages published after the OVA was built. Apply them using the update steps in Phase 2, Step 2 above.
Customizing Security Settings
Adjust fail2ban for Office Networks
If multiple users share the same public IP (office NAT), you can increase the retry limit:
sudo vim /etc/fail2ban/jail.d/ssh.conf
# Change maxretry from 3 to 10
maxretry = 10
# Restart fail2ban
sudo systemctl restart fail2banOr allow your office IP range:
sudo vim /etc/fail2ban/jail.d/ssh.conf
# Add under [sshd]:
ignoreip = 192.168.1.0/24
sudo systemctl restart fail2banFix "Too Many Authentication Failures"
If you have multiple SSH keys loaded and get this error, use:
ssh -o IdentitiesOnly=yes -i ~/.ssh/your_key admin@<appliance-ip>Or increase MaxAuthTries on the virtual appliance:
sudo vim /etc/ssh/sshd_config
# Change: MaxAuthTries 2 → MaxAuthTries 6
sudo systemctl restart sshdManual Hardening Steps for In-Place Upgrade
If you upgraded in-place (Option 2) and want the full v1.1.1+ security features, follow these steps.
Regenerate SSH keys – This permanently deletes the old shared SSH keys and creates new ones unique to your virtual appliance:
sudo shred -u /etc/ssh/ssh_host_* sudo ssh-keygen -A sudo systemctl restart sshdInstall and configure fail2ban – This installs brute-force protection that automatically blocks IPs after repeated failed login attempts:
sudo apt-get install -y fail2ban sudo tee /etc/fail2ban/jail.d/ssh.conf <<EOF [sshd] enabled = true port = ssh filter = sshd logpath = /var/log/auth.log maxretry = 3 findtime = 600 bantime = 3600 EOF sudo systemctl enable fail2ban sudo systemctl start fail2banHarden SSH configuration – This limits the number of login attempts per connection to 2, reducing the risk of brute-force attacks:
sudo sed -i 's/^#*MaxAuthTries.*/MaxAuthTries 2/' /etc/ssh/sshd_config sudo systemctl restart sshd
Verify Security Features
Check that all the security features are active:
# Check fail2ban is running
sudo fail2ban-client status
# Verify SSH MaxAuthTries
grep MaxAuthTries /etc/ssh/sshd_config
# Check CVE-2026-31431 fix
dpkg -l kmod | grep ^ii
cat /etc/modprobe.d/disable-algif_aead.confCGA Services Not Enrolling
If Proxy or Connector fail to enroll:
Check network connectivity:
ping -c 3 google.com curl -I https://url.access.barracuda.comCheck service logs:
sudo journalctl -u fydeproxy -n 200 sudo journalctl -u fyde-connector -n 200Verify enrollment token. Ensure no extra spaces when pasting.
Check the CloudGen Access Console – Verify the proxy/connector entry exists.
# Check banned IPs
sudo fail2ban-client status sshd
# Unban specific IP
sudo fail2ban-client set sshd unbanip <your-ip>
# Unban all IPs
sudo fail2ban-client unban --allContact Barracuda Networks Technical Support if you encounter issues during the upgrade process.