I run a backup script every night (using rclone v1.42) which syncs files from GDrive to an SFTP server. It ran smoothly for almost a year but since some weeks most script runs stop with fatal errors.
rclone sync gdrive: sftpserver:backup --backup-dir sftpserver:backup/$DAY -v --log-file=$LOGDIR/$NOW.log
In the log file I see almost this type of error messages:
ERROR : my/path: error reading destination directory: List failed: dirExists: couldn't initialise SFTP: ssh: unexpected packet in response to channel open: <nil>
Every month a copy job is also done which still runs smoothly
rclone copy gdrive: sftpserver:backup -v --log-file=$LOGDIR/$NOW.log
On my site no changes were made to the setup. Perhaps the SFTP server of the backup provider behaves somewhat differently now. Do you have any hints to debug or solve this issue?