Copying file from Desktop to Virtual Server LINUX

3k Views Asked by At

I have researched and only see answers on how to do this on windows, so here are my details.

I am using mac os X .. And I am connecting to a virtual server via VPN. My problem is I have files on the desktop of my mac that I need to get to the Virtual server on the VPN. How can this be accomplished. They are not on the same network, or IP range. I heard you should install a webserver onto the virtual server in order to accomplish this. Does anyone have experience with this or can provide any assistance would be greatly appreciated.

1

There are 1 best solutions below

4
On BEST ANSWER

OS X includes the scp command that can be used to copy files to a virtual server assuming that it is a Linux system running SSH. For example, this terminal command will copy the file "my_file.txt" from the current directory to username's home directory on the server. The colon at the end of the command is important.

scp my_file.txt [email protected]:

The scp and sftp instructions here apply to OS X as well as Linux.

https://help.ubuntu.com/community/SSH/TransferFiles