Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
2  
Have a look at puppet. It does this and more ;) help.ubuntu.com/12.04/serverguide/puppet.html –  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

1 Answer 1

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

 
discard

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.