8

I have an SSH server providing access to my files at home, secured by a private key.

I'd like to be able to synchronise those files with my Android phone (Samsung Galaxy Note, running Cyanogenmod 11 (Android 4.4.2). I need two-way synchronisation: edits and deletes on the phone should be synchronised to the server, and edits and deletes on the server should be synchronised to the phone.

Ideally, this tool would run in the background, but I would be able to trigger it manually if required.

Does such a tool exist? I've been unable to find one either in the Play Store or F-Droid.

3
  • 3 and a half years later and still no solution for this simple task. None of the software from answers are working/maintained today.
    – madneon
    Commented Nov 13, 2017 at 1:21
  • @madneon I've added a new answer: android.stackexchange.com/a/186319/56413 Commented Nov 13, 2017 at 21:09
  • thanks for mentioning, but it seems Syncthing requires installing peer2peer agents, which doesnt suits me.
    – madneon
    Commented Nov 14, 2017 at 9:48

4 Answers 4

5

Revisiting this after several years, I've found a solution that works across all my devices (GNU/Linux, FreeBSD, Android): Syncthing

It provides free (as in speech, and as in beer), secure, and easily installed peer to peer file synchronisation. Literally does everything I want, out of the box.

2

And if you want a tool with a nice GUI, take a look at FolderSync. It not only offers SSH, but plenty of additional protocols – including Samba, FTP, and a bunch of cloud services (yes, even ownCloud). More alternatives can be found in my list here.

1

Rsync is a great utility that can synchronize files using SSH, which I personally and at work for backups. Looks like there is an app available in the Play Store called rsync backup for Android.

EDIT: Also if you want a more Linux-y type solution, CM has busybox included, which I believe has rsync. Looks like this guy has a setup that seems similar to what you want. Check out his blog post.

0

I ended up choosing Unison, which supports Linux, FreeBSD, Windows and Android - the full set of OSs I use on a regular basis.

See https://android.stackexchange.com/questions/65691/synchronising-files-over-ssh for my replacement for Unison.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .