【问题标题】:Why do I get this error while running rsync?为什么在运行 rsync 时出现此错误?
【发布时间】:2017-08-08 14:36:43
【问题描述】:

我正在尝试使用 rsync 将我的文件从本地主机传输到服务器。但这就是发生的事情

abc@abc_def:~$ rsync -v -e ssh textfile.txt
abc@123.45.67.890:/home/test
ssh: connect to host 123.45.67.890 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0]
abc@abc_def:~$

【问题讨论】:

标签: rsync


【解决方案1】:

哎呀,刚才我清除的命令中有错误,现在可以正常工作了。

rsync -av -P -e 'ssh -p 1111' text.txt abc@123.45.67.890:/home/abc

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-11-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-05
    • 2020-12-15
    • 2021-07-22
    相关资源
    最近更新 更多