Autoconfig Backup Device Key
I had an issue with my XG-7100 being unable to update. During troubleshooting, I rebooted the firewall. Then I was unable to access the GUI. See post related to updates here if curious.. Now, I obviously need to get my GUI access restored. When restarting the GUI from console, I get this error;
rc.restart_webgui: The command '/usr/local/sbin/nginx -c /var/etc/nginx-webConfigurator.conf' returned exit code '127', the output was 'sh: /usr/local/sbin/nginx: not found
So I think I need to blow it away and reimage the firewall. My question is, when I restore my AutoConfig Backup to the firewall, will the device key already be inserted? Or do I need to actually know my device key? Is there a way to view it in the console since my GUI won't function?
The key is calculated based on the SSH key on the device at the time. So if you reinstall, that key will change. You will need to know the current key to restore to a future/different system.
The SSH key is not stored in config.xml, so that would not be altered by restoring a backup.
This might be an option if you can grab the current config.xml :