Secure Shell Managing remote files through ssh Moving files between servers through ssh

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

One way to move files between servers is by using the scp command. Secure copy command utilizes ssh to transfer data. The simples example for copying a file from local to remote server is

scp /localdir/localfile [email protected]:/remotedir/remotefile

Similarily, to copy file from a remote to local server would be

scp [email protected]:/remotedir/remotefile /localdir/localfile 


Got any Secure Shell Question?