News for hackers. Stuff that matters.
Re:Termux: terminal emulator and Debian-style userland as an... by jstimpfle on Monday October 23, 2017 @06:13AM (#15532015)
Make a separate ssh key for your phone with restricted sftp-only access to a phone-specific backup directory on your server.
Re:Termux: terminal emulator and Debian-style userland as an... by hsivonen on Monday October 23, 2017 @10:34AM (#15533435)
What's a good tutorial for restricting sftp access to a particular directory? (Assuming the same host supports ssh login, too.)
Re:Termux: terminal emulator and Debian-style userland as an... by jstimpfle on Monday October 23, 2017 @10:49AM (#15533545)
Assuming openssh-server, look for "internal-sftp" in sshd_config(5). And of course, also google a bit around that.

It's worth pointing out that this will preclude use of rsync and similar tools that require running a server on the remote machine. I'm not aware of robust alternatives so if anyone else knows one please tell me! (and I consider rsync-restricted shells and similar approaches a hack)

Re:Termux: terminal emulator and Debian-style userland as an... by gcoda on Monday October 23, 2017 @07:00PM (#15537639)
how about running OpenSSH inside docker with bind mounts?
Re:Termux: terminal emulator and Debian-style userland as an... by tinix on Tuesday October 24, 2017 @05:11AM (#15540256)
are y'all talking about chroots?