2 hours ago · Tech · 0 comments

I wrote earlier about reworking my blog so that I manage it remotely over SSH. Here’s an update on that. TLDR: success! Connecting I use Zed’s Remote Development to edit my blog content and run git commands over SSH. It works really well. To get it working, I defined the SSH connection to my home server (a Mac Mini) in Zed’s settings like so: "ssh_connections": [ { "nickname": "blog", // `mini.jump` is defined in ~/.ssh/config "host": "mini.jump", "args": [], "projects": [ { "paths": ["~/repos/sal/blog-11ty"] } ], // built-in port forwarding! "port_forwards": [{ "local_port": 8080, "remote_port": 8080 }] } ] This does a couple cool things. First, when I run Zed’s open-remote dialog (Ctrl-Cmd-O), my blog project shows up as an option. When I select it, Zed manages SSH behind the scenes and gives me a workspace that feels more or less like I’m editing my blog locally. When I open Zed’s terminal, for example, it’s SSH’d into the remote host and in the blog path. Sweet. Second, when I…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.