linux+rz+putty,putty +rz/sz

本文讨论了在使用screen会话中进行Zmodem文件传输时遇到的问题,即当screen处在传输中间或作为终端时,如何正确进行文件传输。针对这两种情况,分别给出了使用'zmodempass'和'zmodemcatch'配置的解决方法,确保文件能正常从远程主机传送到本地。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

当前结果:

leputty可以正常工作, 不能加screen, 否则传送文件后终端无响应.

>It depends whether screen is in themiddle of a sz/rz transfer or

>it is used as an"endpoint".

>

>1) In the middle:

>

>Use "zmodem pass" in thatcase. This means that screen will pass

>on all zmodem data. Example: yourterminal emulation supports

>zmodem, you log into a server andreconnect to your screen session.

>In the session you need to transfer afile home, so you call

>"sz " in awindow.

>

>2) As an endpoint:

>

>You use screen as your terminalemulator, i.e. you have connected

>the console of some other machine toyour serial line and want

>to transfer a file from the othermachine to your host. So you

>configure "zmodem catch"and run "sz " on the host.

>Screen will intercept the zmodemsequences and prompt you

>with a "rz" prompt. Youjust confirm this by pressing return and

>the file will get transfered.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值