12-16-2020, 07:39 AM
@Rehan
Next time you need to transfer a file from VPS-A to VPS-B, use the scp -secure copy- tool, like so, while logged-in VPS-A:
Of course, you can drop the -P flag if the VPS-B_SSH_PORT is the default port.
You can also transfer an entire folder by adding the -r flag.
Good luck!
Next time you need to transfer a file from VPS-A to VPS-B, use the scp -secure copy- tool, like so, while logged-in VPS-A:
Code: (Select All)
scp -P VPS-B_SSH_PORT /home/username/random_path/arhive.tar.xz VPS-B_IP:/home/username/random_path/
Of course, you can drop the -P flag if the VPS-B_SSH_PORT is the default port.
You can also transfer an entire folder by adding the -r flag.
Good luck!