Having administered a number of networking/sever platforms, SCP has become my go to for secure copying of small files to *nix based systems.
While the handbook explains how to enable SCP on a FortiGate, it leaves out the name of the config file, so I don't really know what to request. I did do some further digging and here's how you enable SCP, and backup the config file via SCP.
Enabling SCP
config system global
set admin-scp enable
end
Copying the file via SCP (via Linux/Unix/macOS CLI)
scp admin@x.x.x.x:sys_config ~/configs/
And that's all there is to it!
Thank you for reading, I hope this was helpful.
Sources:
Comments