Synchronize your ssh configuration across multiple machines with Dropbox

Working with many different Macs and servers daily can ba a pain. But you can store your SSH configuration file in dropbox, and create a symbolic link to it so you can use the same configuration across your computers.

Also, you can use this method to sync other types of configuration files like your bash profile or your hosts file.

Create a folder in your Dropbox to store such files.

mkdir ~/Dropbox/symlinks

Move your ssh config to this folder.

sudo mv /etc/ssh_config ~/Dropbox/symlinks/ssh_config

Create a symbolic link to the new file.

sudo ln -s ~/Dropbox/symlinks/ssh_config /etc/ssh_config

Published: July 23 2013

blog comments powered by Disqus