Where Is the tmate Config File?
tmate sharing conf with tmux fallback chain plus key files.
Last updated
tmate reads its own conf first with tmux confs as fallback chain. Same tmux syntax throughout. Keys and ACLs live in files the config names.
Official docs pin the conf name. SSH paths follow examples rather than hard defaults. Keep conf plus keys together.
Where tmate stores this, by platform
~/.tmate.conf
Own conf first with tmux fallbacks in order. Same syntax. Keys in named files per config. Flag forces any path.
~/.tmate.conf
Same conf chain plus key files with POSIX paths.
Frequently asked questions
How do I back up tmate?
Copy the conf file with no session running. Keys travel as files wherever configured. Restoring means putting the conf back before launch.
tmate.conf or tmux.conf?
Own file wins with system and user tmux confs as fallback in order. Flag forces any path. SSH key paths are conventions from examples, set them explicitly in config.
Notice an outdated path? Let us know.