Press "Enter" to skip to content

SCP Server to Server File Transfer

For ubuntu, you need:

sudo apt install scp sshpass

Then, login into your server and start upload to another server:

sshpass -p "password" scp -P 22 -v -r "/home/steam/.steam/steamapps/common/Left 4 Dead 2 Dedicated Server/" "[email protected]:/home/steam/.steam/steamapps/common/"

For easy reading, like this:

sshpass -p "password" \
scp -P 22 -v -r \
"/home/steam/.steam/steamapps/common/Left 4 Dead 2 Dedicated Server/" \
"[email protected]:/home/steam/.steam/steamapps/common/"

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.