[12:29] hi, what makes this motd-style output: https://ibb.co/d79hF2z === elastic_dog is now known as Guest223 [12:56] https://wiki.ubuntu.com/UpdateMotd imi [12:57] thanks [15:05] I've got 2 ubuntu systems, primary and secondary. I want secondary to backup primary. I was going to create ssh keys between secondary and primary and run rsync... but if I do that, I believe someone from secondary can ssh into primary. Is there a way to only enable rsync somehow and not ssh for a specific IP or such? [15:06] you can force a command in the authorized_keys for that key [15:07] oh! Interesting, that might do it. This secondary system is at someone's property... it's probably fine but it would be a security risk. Granted, I guess someone would need to login to that system to do this so it may be fine [15:07] foo: check the sshd manpage, search for "AUTHORIZED_KEYS FILE FORMAT" [15:08] command="command" [15:08] Specifies that the command is executed whenever this key is used for authentication. The command supplied by the user (if any) is ignored. [15:12] ahasenack: thank you! [15:12] Testing now [15:17] ahasenack: ok, it seems to sorta be working, I just got to get the rsync command to actually work. command="/usr/bin/rsync -azv /home",no-port-forwarding ssh-ed25519 AAAA... doesn't seem to be working "protocol version mismatch -- is your shell clean?" [15:25] jjjj/w 2 [17:30] when rsync says that, it usually means there is "garbage" in the stream [17:44] this might be a bit more complicated than I thought [17:44] found this, maybe it helps: https://gist.github.com/jyap808/8700714