Select OK.
The FortiGate unit configuration file name is sys_config. Use the following syntax to download the file:
Linux
scp admin@<FortiGate_IP>:sys_config <location>
Windows
pscp admin@<FortiGate_IP>:sys_config <location>
These examples show how to download the configuration file from a FortiGate unit at IP address 172.20.120.171, using Linux and Windows SCP clients.
Linux client example
To download the configuration file to a local directory called ~/config, enter the following command:
scp admin@172.20.120.171:sys_config ~/config
Enter the admin password when prompted.
Windows client example
To download the configuration file to a local directory called c:\config, enter the following command in a Command Prompt window:
pscp admin@172.20.120.171:sys_config c:\config
Enter the admin password when prompted.