DESCRIPTION:
- Consider we want to copy test.txt file from remote machine(192.168.2.5) to local machine(192.168.1.10)
- We need to use scp(secure copy) command to establish above need
- For this you want the root password of the remote host.
COMMAND:
scp <remote username>@<remote ipaddress>:<source with path> <dest path with file name>
example:
scp root@192.168.2.5:/home/remote/test.txt /home/user/Desktop/test.txt
- It will ask the remote machine password to enter
- Now file will successfully copy to remote machine