Symptoms

You try to attach to or create a new tmux session and you get the following error message:

open terminal failed: missing or unsuitable terminal: st-256color

Fix

Copy over your terminfo definition with this one-liner:

infocmp st-256color|ssh USER@TARGETHOST "mkdir -p .terminfo && cat >/tmp/ti && tic /tmp/ti"

That’s it…