The VSCode remote ssh implementation is a bit concerning:

https://fly.io/blog/vscode-ssh-wtf/

Any idea if zed does things differently?