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 configuration files at my home directory (.bashrc, .gitignore, etc.). When I find something helpful for me I add this information into this files. But also I have access via ssh to different servers, where I'm also using cli and need this changes.

What I'm doing now? Connecting via ssh and change everything manually.

What I want to achieve? I want to do it automatically.

How I can make it? What you can recommend for me?

share|improve this question
If you need to sync the same files occasionally, the simplest thing is to use rsync in a script. You can run it with cron as well. – grimpitch May 21 '13 at 5:58
Have a look at puppet. It does this and more ;) – Rinzwind May 21 '13 at 6:56
You might also consider a git repo of your dotfiles, a lot of people prefer it – demure May 21 '13 at 12:54

A good way is managing your configuration files in a code repository, saying github.

Every time you change locally, push your change. And in other servers, you just need to pull the changes down.

A lot of people host their dotfiles in github. You can take a look github dotfiles.

share|improve this answer

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.