First lets take a look at how to connect to remote system using netcat. We have 2 CentOS 7 based systems.
First install netcat on both systems
Start netcat on one of the systems
No connect from other system
Now if you type any text on one of the systems it will appear on the remote one.
Lets take a look at how to transfer data files or block level files between two remote systems.
Netcat is Unix/Linux based command that can establish connection between remote systems and write files or lets us access systems remotely. On CentOS based systems it can be installed with following command.