Using Secure Copy (scp) to Copy Files

Before copying the file, ensure that your host computer makes a connection to the DT7816 module by executing the following command, where 1.2.3.4 is the IP address of the module (change this to match the IP address of your module; you can get the IP address of your module using the ifconfig command):

# ssh root@1.2.3.4

To use the secure copy (scp) command to copy the file /tmp/README.txt from the host system to the /tmp directory on the target DT78xx module at IP address 1.2.3.4, enter the following command:

# sshpass -p root scp /tmp/README.txt root@1.2.3.4:/tmp