tmate server configuration
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
surtur dcf16ea999
add .gitattributes
7 months ago
.gitattributes add .gitattributes 7 months ago readme: make title link back to project page 7 months ago
docker-compose.yml compose: correct yaml EOF 7 months ago
example.tmate.conf initial commit 2 years ago
tmate.service initial commit 2 years ago


this repo holds

  • docker-compose.yml for our instance of tmate
  • systemd unit file to easily start/stop/manage the service
  • example tmate config to let clients make use of our instance

Note: commands below are to be run from the project folder

server-side setup

mkdir -pv /etc/tmate
cp -v docker-compose.yml /etc/tmate/
cp -v tmate.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable --now tmate.service

tmate client setup

if [ ! -f $HOME/.tmate.conf ]; then
    cp -v example.tmate.conf $HOME/.tmate.conf
    printf " * file \"$HOME/.tmate.conf\" already present, not doing anything\n"

after you've got the config in place (and tmate installed locally), run tmate