rsync command over sftp is failing with protocol mismatch #530
-
Hi @drakkan & Team, I have tried to do rsync over sftp, but ended with exception mentioned in last section. **Notes: I tried the same setup in my local system(Windows) and it worked fine ** Changes in sftpgo.json file :"enabled_ssh_commands": [ Docker command to run:docker run --name sftpgo-edge ERROR From Server{"level":"debug","time":"2021-09-08T09:06:35.247","sender":"SSH","connection_id":"e4256ea6b9a2d92051943bbff49bfb47c9c3766241fbed3a86f520e8d3f5ab89","message":"User "RYAN_MAX", logged in with: "password", from ip: "10.33.XXX.XXX", client version "SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3""} Error From Client System (Ubuntu)$ rsync test1.txt [email protected]:/ -e 'ssh -p 2022' |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, the relevant error is this one System commands like |
Beta Was this translation helpful? Give feedback.
-
Thanks @drakkan I have checked the link https://github.com/drakkan/sftpgo/blob/main/docs/ssh-commands.md Also are there any other alternatives to rsync ? |
Beta Was this translation helpful? Give feedback.
Hi,
the relevant error is this one
command unsupported for this configuration
.System commands like
git
andrsync
work only on local filesystem and they have some other limitations, please find more details here