This file demonstrates using org-babel and tramp together to execute a
source block on a remote host. It was tested with Emacs 27.1 launched
as emacs -Q
(zero custom configuration).
I recommend that you download the raw version of this file, open it in Emacs, and evaluate the blocks yourself. In fact, if you don’t then you will miss the most important parts because they are hidden in the fancy GitHub rendering.