juicedata / juicefs

JuiceFS is a distributed POSIX file system built on top of Redis and S3.
https://juicefs.com
Apache License 2.0
10.06k stars 888 forks source link

Specify SSH port in juicefs sync #4946

Closed michaelmyc closed 1 week ago

michaelmyc commented 1 week ago

What would you like to be added: The ability to specify the SSH port when syncing between local filesystem and a remote filesystem over SSH.

Why is this needed: SSH port is not always 22

zhijian-pro commented 1 week ago

This feature is currently supported juicefs sync /tmp/t1/ sftp://root@192.168.2.67:22:/tmp/p1/ -u -f

michaelmyc commented 1 week ago

Please add this to documentation. I don't think this is mentioned in the juicefs sync documentation.