Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用rsync -e ssh的方式进行传输,不能设置其它端口 #70

Open
GoogleCodeExporter opened this issue Sep 5, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

使用版本sersync2.5.4
ssh默认使用22端口,可以同步成功,如果使用其他端口,则同
步不成功。但服务器运行在公网上,一般都会修改端口,可��
�在xml文件中,只能设置是否启用ssh模式。如果配置文件中可�
��设置ssh端口号就好了。
rsync -artuz -R  -e 'ssh -p 3000' "./test1" [email protected]:/data/web/
ssh非22端口要这样才可以同步,建议sersync对开启ssh时增加“-p
 ”参数。

Original issue reported on code.google.com by [email protected] on 5 Aug 2014 at 6:45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant