You might want to use programs like Warpgate which are very fine and work pretty well, but at times you just want to push one file from server A to server B. The following example works on Ubuntu Server, but I’m sure any *nix environment should work with it. And the method we’re using is SCP, and its syntax goes like this:

1
scp filename.txt remoteuser@192.168.69.69:/var/www/html/mysiteupload/

If you don’t specify a path after the :, it will just drop the file into the home directory of remoteuser (something like /home/remoteuser).