After upgrade to FortiOS 7.2.5 trying to restore configuration using SCP
returns 501-Permission Denied.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-download-a-FortiGate-configuration-file-and/ta-p/197125
Hi, Just tried using PuTTY's pscp and got the same error. It seems it's
a Windows site issue too. The only change was the FortiOS version, the
script and SSH keys are the same. Althorught, restore still works using
password authentication: $ scp -o P...
Hi, @pgautam The command is used in a script, so the user has
ssh-public-key1 configured. Trying to restore using password
authentication works, but with configured keys it returns 501-Permission
Denied. Althorught login with SSH keys still works. $ ...