- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
manual SFTP back up failed
Hello,
We tried to issue a manual backup like:
exe backup all-settings sftp <SFTP Server> /data/tftp/Fortigate <remote username> <remote SFTP user password>
Starting backup all settings in background, Please wait.
Fortimanager # MD5: ee622a71b5f1217d24b271bb8f4165a9
Starting transfer the backup file to SFTP server...
* /var/fwclienttemp/fmg_clibackup.dat -> sftp:// <SFTP Server>:22/%2Fdata%2Ftftp/Fortigate
* Trying <SFTP Server>:22...
* connect to <SFTP Server> port 22 failed: Connection timed out
* Failed to connect to <SFTP Server> port 22 after 129820 ms: Couldn't connect to server
* Closing connection
SFTP failed: Timeout was reached
Failed to backup all-settings due to SFTP transaction!
Backup all settings...Failed.
Fortimanager #
Please note that we verified access to that remote folder by opening a SFTP session and send a file to this destination from a linux box.
$ scp fortigate.bak sftpbrutus@<SFTP Server:/data/sftp/Fortigate
******************************************************
* You have reached a restricted system. *
* *
* Unauthorized use is strictly prohibited and will *
* be prosecuted to the fullest extent of the law. *
* *
******************************************************
sftpbrutus@<remote server> password:
fortigate.bak
I am also wondering, whether it is possible to run bash commands in Fortinet CLI, to issue for example scp commands outside the Fortinet cli.
Thanks,
netmart
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @netmart ,
Please first check the connectivity to the SFTP server from FortiManager.
Jerry
