The associated forum post URL from https://forum.rclone.org
https://forum.rclone.org/t/serve-sftp-upload-fails-illegal-seek-ssh-fx-failure/27238
What is the problem you are having with rclone?
Uploading a file using the rclone SFTP backend to the rclone serve sftp server fails with "Illegal seek" (SSH_FX_FAILURE).
As a workaround you can either add --sftp-disable-concurrent-writes to the client or --vfs-cache-mode writes to the server.
As discussed in the forum it is suspected that a rewrite of the file upload code of the upstream sftp library broke it as it worked with v1.55.1.
What is your rclone version (output from rclone version)
v1.56.2 or v1.57.0-beta.5823.da8f9be84
Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Debian 10 Buster, 64 bit
Which cloud storage system are you using? (e.g. Google Drive)
Local Filesystem
The command you were trying to run (e.g. rclone copy /tmp remote:tmp)
Server & Client
wget https://downloads.rclone.org/v1.56.2/rclone-v1.56.2-linux-amd64.zip
unzip rclone-v1.56.2-linux-amd64.zip
cd rclone-v1.56.2-linux-amd64/
Server only
mkdir server-folder
./rclone serve sftp server-folder --no-auth --log-file rclone-server.log -vvv
Client only
mkdir client-folder
fallocate -l 100MB client-folder/100MB.test
./rclone copy --sftp-host 127.0.0.1 --sftp-port 2022 --sftp-ask-password client-folder :sftp: --log-file rclone-client.log -vvv
For the beta version I updated with
./rclone selfupdate --beta
and then repeated the commands above.
A log from the command with the -vvv flag (e.g. output from rclone -vv copy /tmp remote:tmp)
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
The associated forum post URL from
https://forum.rclone.orghttps://forum.rclone.org/t/serve-sftp-upload-fails-illegal-seek-ssh-fx-failure/27238
What is the problem you are having with rclone?
Uploading a file using the rclone SFTP backend to the rclone serve sftp server fails with "Illegal seek" (SSH_FX_FAILURE).
As a workaround you can either add
--sftp-disable-concurrent-writesto the client or--vfs-cache-mode writesto the server.As discussed in the forum it is suspected that a rewrite of the file upload code of the upstream sftp library broke it as it worked with v1.55.1.
What is your rclone version (output from
rclone version)v1.56.2 or v1.57.0-beta.5823.da8f9be84
Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Debian 10 Buster, 64 bit
Which cloud storage system are you using? (e.g. Google Drive)
Local Filesystem
The command you were trying to run (e.g.
rclone copy /tmp remote:tmp)Server & Client
Server only
Client only
For the beta version I updated with
and then repeated the commands above.
A log from the command with the
-vvvflag (e.g. output fromrclone -vv copy /tmp remote:tmp)How to use GitHub