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

关于ssh key同步的问题 #68

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

关于ssh key同步的问题 #68

GoogleCodeExporter opened this issue Sep 5, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

使用版本sersync2.5.4
测试情况,如果ssh使用22端口则可以同步成功,如果使用其他
端口则无效

rsync -az -R --delete ./  -e ssh  --port=2222 [email protected]:/var/tmp
rsync -az -R --delete ./  -e “ssh  -p2222” [email protected]:/var/tmp
第一条命令是sersync启动时execute 
command提示的部分信息,而该--port参数对ssh无效
手工执行第二条命令可以同步成功

故此,我觉得是个bug,建议sersync对开启ssh时的-e参数

写得比较啰嗦,见笑了

Original issue reported on code.google.com by [email protected] on 26 Jan 2014 at 2:50

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