-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
使用版本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
Metadata
Metadata
Assignees
Labels
No labels