Synchronizing your Linux Laptop and Desktop

Oh man, this is something that I was trying to figure out myself not too long back. Being I run Linspire on my desktop (it does a great job at maintaining my apps) and SuSe on my notebook, being able to keep them in sync is critical to me.

If your laptop computer is a complement to your desktop machine, you’re probably well aware of the need to synchronize data between the two. When you’re in the middle of a big project and know you’re going to be spending the afternoon in a doctor’s waiting room or on an airplane, it’s nice to be able to quickly transfer your project files–and maybe your email and contacts–to the laptop, then vice-versa when you return to your desk. This article will show you two ways to accomplish this on GNU/Linux-based machines.

If you only have a handful of individual files or directories to transfer, it’s probably easiest to send them one at a time via secure shell (OpenSSH). Every GNU/Linux distribution includes OpenSSH, but not all of them run the SSH daemon (which allows you to connect to the computer via SSH) by default. Starting the daemon is as simple as typing sshd in a root terminal. You can also configure your distribution to start OpenSSH at boot time; each distro handles startup scripts differently, so you’ll have to consult your distro’s documentation to learn how to do that.

Once the secure shell daemon is started, other computers can connect to your machine from a terminal window by using the ssh command, or you can copy files over a secure connection by using scp. The latter works just like the regular cp command does, except you have to give it an address for at least one of the files…. Source: LinuxPlanet

[tags]linspire,linux laptop,synchronize data,openssh,ssh daemon[/tags]