Changes

Remote File Copy from the Linux Command Prompt

899 bytes added, 22:20, 1 March 2018
The following lines were added (+) and removed (-):
=== 1. SCP - Secure Copy Protocol ====== SCP - Secure Copy Protocol ====== 2. RZSZ - XMODEM, YMODEM, ZMODEM file transfer ====== Insecure File Copy === ie: Netcat File Copy. It's not really called Insecure File Copy, but to make a point, only use this method on your private LAN for files where security does not matter.  This is the quick and dirty way to move a file even if ssh is not installed.  Although netcat has many functions, you can copy a file from one machine to another using Netcat.   You basically issue the netcat command on the receive computer assigning a port with a redirect to file output.  It will sit and listen for a connection then terminate when complete.  Type this on the receive computer:  nc -l 2222 > myfile.pdfThen on the source machine which is at IP address 192.168.50.1 in our example where the file exists you type the following:  nc 192.168.50.1 2222 < myfile.pdf You don't have to use port 2222, and you call the file whatever you want as long as the extensions are the same, and so on.   === RZSZ - XMODEM, YMODEM, ZMODEM file transfer ====== 3. ZSSH - File transfer using Secure Shell and RZSZ ====== ZSSH - File transfer using Secure Shell and RZSZ ====== 4. RCP - remote file copy ====== RCP - remote file copy ===
Bureaucrat, administrator
16,192
edits