SFTP backup set up fails with “Configuration error”
I have tested on two Nethserver installs and both can not connect to the SFTP server. I have tested the SFTP server connection with WinSCP and connect without error.
Example config I have been using -
SFTP Host -
123.123.123.123
SFTP port -
22
SFTP User -
backupuser
SFTP password -
password
SFTP Directory -
cloudserverbackup
On check receive “Configuration error. Check configuration properties and retry”
If I have in the root of my sftp server a folder called “cloudserverbackup” is my original post settings correct?
Have tried two different SFTP servers on the same LAN as a new install of Nethserver (third Nethserver install tested). WinSCP connects without issue and I can read and write from WinSCP to the SFTP server, but can not get Nethserver to connect.
The server I am connecting to is running Debian 9 with OpenSSH_7.4p1 Debian-10+deb9u7
Whatever you are connecting to has to be configured to allow sftp over ssh, it might be worth it to double check that it is allowed on the far end.
Two VM Nethservers on the same LAN with 7.9.2009 version and with all updates applied.
Nethserver A is the server that I am setting up a SFTP backup profile on.
Settings -
SFTP Host -
192.168.102.250
SFTP port -
22
SFTP User -
test
SFTP password -
(password)
SFTP Directory -
/media/backup
Nethserver B is the server that I have setup as the SFTP server with a user and group setup and assigned to the ssh and sftp access to. I have created a folder /media/backup.
Still the same error when Server A backup is being set up.
Sounds like the user you were using possibly did not have the correct file permissions to write to the destination folder. Obviously root has access to everything so that works just fine.
This path will be backuped by your second ns, it will increase the size
I am not sure we have a bug to hunt here, you must use valid credentials, the validation is here for that. If you do not pass the validation, the path is not correct, the user is not valid, is not allowed to use ssh or to write in this folder… The list is long