remote/directory - this is the directory path that a file will be copied to. Remote_server_IP - the IP of a remote server Remote_server_username - the user that you will be using to connect to a remote server, for example, root Test_file.txt - a file that is being transferred Scp test_file.txt _server_IP:/remote/directory Copying files from a local server to a remote serverīelow is the syntax for the command to copy local data to another server This method requires access to both servers, so you won't be able to transfer files without having access to the remote servers. SCP(Secure Copy) is an easy way to transfer files between two servers that uses SSH so it provides the same level of security.