News for hackers. Stuff that matters.

Ignacy-s

3 machines Syncthing setup between desktop, laptop and a cloud instance in case laptop wasn't on to sync and the desktop is off for some reason. It takes about 15s from connecting the laptop to the internet to having the files synced to it. Just need to remember to save files in emacs.

Setting up Syncthing in the cloud was a challenge, had to tunnel the web-ui with ssh port forwarding.

Re:VTM: A Text-Based Desktop Environment on Saturday August 22, 2020 @12:19PM (#24245119)
If you do the first connection with mosh instead of ssh, it will survive vpn/wifi/4g roaming and even system hibernation. Assuming that first hop is a vps in the cloud with a stable connection, you can literally wake your pc from hibernation and once you get any Internet access, mosh will happily restore your "ssh" session for you.

mosh.org: >Mosh will log the user in via SSH, then start a connection on a UDP port between 60000 and 61000.

Needs at least a couple of ports in that range open, because old sessions tend to block ports until they are cleaned.