免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3061 | 回复: 6
打印 上一主题 下一主题

大文件通过网络COPY [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-20 11:05 |只看该作者 |倒序浏览
我有个目录18 G         COPY 到另一个机器上去 (bsd)
    使用scp   或别的  与SSH 相关的 都会提示 Corrupted MAC on input.
www/myt66com/bbs/attachment/Mon_0603/100_33785_114062b29beb9a5.gif
www/myt66com/bbs/attachment/Mon_0603/100_33785_115bc970a9fd6e6.gif
www/myt66com/bbs/attachment/Mon_0603/100_33785_116c42ebd57c4dd.gif
Disconnecting: Corrupted MAC on input.
rsync: writefd_unbuffered failed to write 4092 bytes: phase "unknown" [generator]: Broken pipe (32)
rsync error: error in rsync protocol data stream (code 12) at io.c(110
rsync error: received SIGUSR1 or SIGINT (code 20) at main.c(985)

       有人遇到过这样的问题吗

论坛徽章:
0
2 [报告]
发表于 2006-09-20 11:12 |只看该作者
你要先给出你的SCP或SSH的语句

然后把错误列出来撒~~

论坛徽章:
0
3 [报告]
发表于 2006-09-20 11:20 |只看该作者
命令
rsync -ave ssh 61.152.x.x:/usr/webdata/www /usr/bak

错误输出
www/myt66com/bbs/attachment/Mon_0604/100_35254_93f7704834b8a4c.gif
www/myt66com/bbs/attachment/Mon_0604/100_35254_9453f6c616737b0.gif
Disconnecting: Corrupted MAC on input.
rsync: writefd_unbuffered failed to write 4092 bytes: phase "unknown" [generator]: Broken pipe (32)
rsync error: error in rsync protocol data stream (code 12) at io.c(110
rsync error: received SIGUSR1 or SIGINT (code 20) at main.c(985)

论坛徽章:
0
4 [报告]
发表于 2006-09-20 11:36 |只看该作者
man rsync
里面有这一段,你仔细看一下。

[ In order to distinguish between the remote-shell  user  and  the  rsync
       server user, you can use ´-l user´ on your remote-shell command:

              rsync -av --rsh="ssh -l ssh-user" rsync-user@host::module[/path]
              local-path

       The "ssh-user" will be used at the ssh level; the "rsync-user" will  be
       used to check against the rsyncd.conf on the remote host. ]

论坛徽章:
0
5 [报告]
发表于 2006-09-20 12:00 |只看该作者
不是rsync 的问题       1楼的时候就说了  只要是用ssh   来传这个文件就出 Corrupted MAC on input. 错误提示   我用scp是一样的错误提示  之所以换成rsync 是因为     断开后不需要重传已经传过的文件

论坛徽章:
8
摩羯座
日期:2014-11-26 18:59:452015亚冠之浦和红钻
日期:2015-06-23 19:10:532015亚冠之西悉尼流浪者
日期:2015-08-21 08:40:5815-16赛季CBA联赛之山东
日期:2016-01-31 18:25:0515-16赛季CBA联赛之四川
日期:2016-02-16 16:08:30程序设计版块每日发帖之星
日期:2016-06-29 06:20:002017金鸡报晓
日期:2017-01-10 15:19:5615-16赛季CBA联赛之佛山
日期:2017-02-27 20:41:19
6 [报告]
发表于 2006-09-20 12:48 |只看该作者
另一个机器上去 (bsd) 断开了ssh的连接,检查那机器的设置

论坛徽章:
0
7 [报告]
发表于 2006-09-20 12:49 |只看该作者
rsync -ave ssh 61.152.x.x:/usr/webdata/www /usr/bak

应该是这样的哦:

rsync -ave -e ssh 61.152.x.x:/usr/webdata/www /usr/bak
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP