Cant upload files to backup path

setup debian server, able to login using ssh and sudo into root without root password to access a higher level of access which is no problem but when i log into sftp as debian to upload a backup file from previous hestia server it gives me permission denied, what is the way to do it without opening root ssh access? right now only debian can log into ssh

Upload the backup files with a user with sftp permissions and once done move the files with the root user to /backup/ dir.

1 Like