Alex's Slip-box

These are my org-mode notes in sort of Zettelkasten style


# Basics

upterm host --server ssh:// --
  • Leave off the --server~ option to use the public server

# Paranoid?

Run the session in a docker container to limit access to your machine.

upterm host -- docker run --rm -ti ubuntu bash

# Add terminal prompt

Have your terminal prompt show you when you’re hosting a session.

export PS1="$([[ ! -z "${UPTERM_ADMIN_SOCKET}"  ]] && echo -e  "\033[0;31mupterm ")$PS1"
  • This prepends a red upterm to the terminal prompt.