Remote Connection - File Transfer on Linux

Secure copy: A command you can use in Linux to copy files between computers on a network

  • It utilizes SSH to transfer the data. ​Just like you would SSH into a machine, ​you can send a file that way. ​

 ​Let’s say we want to copy over ​a file from our computer to another computer. ​To do this, we can run the SCP command with a few flags. ​In this command, we run the SCP command with ​the path of the file we want to ​transfer to the user account, ​host name, and path where we want to copy the file to. Pasted image 20260624171907  ​Now it prompts us with a login information ​in the computer we want to send the file to.Pasted image 20260624171944 ​After we enter this, ​we can verify that the file successfully copied over. Pasted image 20260624172029 The SCP command is ​a super useful tool if you need to copy ​files to and from computers in a network. ​