Between Linux machines Zssh, RZ, SZ transmit each other

Source: Internet
Author: User

Zssh's full name is Zmodem SSH. Look at the name to know, using the Zmodem, we used to SECURECRT, directly can be used to send files, more convenient than the use of SCP.

Zssh usage is: Log in the host with zssh like SSH command, press ctrl+2 (@ key) to enter ZSSH state in the command input state; $sz local file name [optional parameter-be: binary] Upload file complete (i output some garbled in time, but not affect upload)

  download is the reverse, first in the remote host-side SZ file ctrl+2 and then enter the RZ

The ZMODEM protocol facilitates the main representation at the following points

First, you do not need to enter a very long command and password, directly using Rz,sz Plus file name, you can implement the file to send and receive. The speed is fast.

Second, in the relay of a host, to the target host and the local host, and so on, to transfer files, SCP is quite troublesome, you need to enter multiple command user password. But sz can penetrate directly.

Well, speaking of using, like next, and using SSH exactly like, just hitting the command when it turns into a zssh

#zssh [email protected]

Well, after entering, you need to upload the file . First
#[email protected]
Zssh >//here switches to the local machine.

ZSSH>PWD//Check the directory of the Local machine there

Zssh>ls//Look at the files.

Zssh>sz 123.txt//uploads the current directory of the local machine to the current directory of 123.txt to the remote machine

If you download the file

#sz filename//On the remote machine, start SZ and prepare to send the file

See a bunch of garbled characters
And then in
#[email protected]
Zssh > PWD//See in that directory, CD switch to the appropriate directory

Zssh > RZ//Catch the corresponding file


Between Linux machines Zssh, RZ, SZ transmit each other

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.