Skip to content

scp Secure Copy to remote host with Linux

Share Button

// Copy testFile.php from remote host/machine to Localhost

scp username@remote_host:/etc/practice/testFile.php ./

 

// Copy testFile.php from Localhost to remote host/machine

scp testFile.php username@remote_host:/etc/practice

 

 

Explanation:

scp_fileSending

Share Button