How to Securely Copy Files from your system to UniDatacenter servers using SCP
- rajababukarmakar
- Mar 30
- 1 min read
Updated: Apr 4

Secure Copy Protocol (SCP) provides a safe, efficient and fast way to transfer files from your systems to UniDatacenter servers over a network. Please remember to copy the path directory at the UniDatacenter server (where you want to copy your files), before performing the SCP.
After you have the path where you want to copy your files, go to the folder in your computer where the files are located. Execute the following SCP command in that location. Or else, you can write the full path of your files in place of [file_name], as per your ease.
scp -r /file-directory/file_name username@login.uni-datacenter.com:/home/username/folder_name -P XXXXX
There are other flags that you can use along with the scp command.
-P | Port number provided to you |
-r | Recursively copy entire directories |
-p | Preserves modification times, access times, and modes from the original files. |
Please note you should not perform ssh before performing scp. You must execute the code from your system only.