Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a user in a linux server (Debian) with ssh access, and have some files on it. I need to copy the files to my Dropbox. but I donot want to copy to my Dropbox in my PC and Laptop, I want to first copy to my Dropbox account directly then sync to my PC and Laptop. Is scp work?

share|improve this question
I'm not totally sure I follow the question. Why not add Dropbox to the server? – wlraider70 Apr 4 '13 at 20:14
@wlraider70 make an answer of your comment - it looks excellent. – guntbert Apr 4 '13 at 20:18

Here is a better option, a SHELL script that will allow you to upload/download/delete files from the terminal;

Tested and works just great.

share|improve this answer
Although it's a good option, I wouldn't like to install private stuff from someone else to rely my database backups on my server. The CLI looks like a better choice IMO. – mau Dec 16 '13 at 18:23

Why not add Dropbox to the server? There are CLI option if you need.

Try this:

scp somefile username@server:/home/username/

share|improve this answer
I have no sudo permission ... – Xbuffer Apr 4 '13 at 21:19
In fact, you don't need sudo permissions. I just have installed on a linux server and it's working like a charm. – mau Dec 16 '13 at 18:21
Why not add Dropbox to the server? Because it may not be a private server where I do not want to download and sync all my local files. – Vibhav Sinha Jun 30 '14 at 3:13
The question here is not about syncing, it's about pushing. Installing Dropbox implies making all the files public, while the idea I detect here is to use Dropbox to backup file, or as a one-way push. – Chop Sep 29 '15 at 9:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.