Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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 am using Scientific Linux on my office computer and home laptop. I was usually signed in before I leave my office so when I made a change over SSH on my office computer, Dropbox would automatically sync the change.

But this time I rebooted my office computer using SSH with /sbin/reboot, and after signing in again it would no longer update Dropbox. I guess this is because Dropbox needs to be signed in once locally to continue syncing.

How can I set Dropbox syncing remotely over SSH on my office computer?

share|improve this question
up vote 3 down vote accepted

There is a dropbox command line tool that allows you to perform all sorts of tasks, including stopping and starting dropbox.

You could include a short snippet in your .profile or .bash_profile (depending on what you use), that checks if dropbox is already running, and if not, starts it:

~/bin/dropbox.py running
[ $? -eq 0 ] && ~/bin/dropbox.py start
share|improve this answer
For my Centos box dropbox start works as installed command then i use python script just for checking state ~/mybin/dropbox.py running [ $? -eq 0 ] && echo "starting dropbox... " && dropbox start; echo "dropbox is started"; – Yurij73 Dec 6 '12 at 15:58

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.