Skip to content
tmate SSH server
C Roff M4 Awk Makefile Shell Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
compat Cleanup warnings Nov 9, 2019
logo Add tmux logo, createed by Jason Long. Apr 28, 2015
monitor Rename: tmate-slave -> tmate-ssh-server Apr 10, 2019
presentations
tools No more $Id$. Sep 14, 2015
.gitignore Rename: tmate-slave -> tmate-ssh-server Apr 10, 2019
.mailmap Add to .mailmap, and sort. Dec 8, 2015
.travis.yml
CHANGES
COPYING Add a COPYING file, suggested by Dagobert Michelsen. May 31, 2013
Dockerfile nits Nov 10, 2019
Dockerfile.dev Remove latency measurements Oct 9, 2019
FAQ Note version this happened. Jun 4, 2015
Makefile.am Cleanup warnings Nov 9, 2019
README examples/ has gone, so delete some text about it. Jan 29, 2016
README.md readme notes Oct 15, 2019
SYNCING
TODO Add to TODO. Mar 20, 2016
alerts.c
arguments.c Revert "Escape sent commands" Mar 28, 2016
array.h I no longer use my SourceForge address so replace it. Jan 19, 2016
attributes.c No need for $Id$ now. Nov 8, 2014
autogen.sh Remove $Id$. Jun 3, 2015
cfg.c Merge branch 'obsd-master' Jan 19, 2016
client.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-attach-session.c Merge remote-tracking branch 'tmux/master' Mar 27, 2016
cmd-bind-key.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-break-pane.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-capture-pane.c Instead of combined flags for -c, -s, -t, split into different sets Dec 14, 2015
cmd-choose-buffer.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-choose-client.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-choose-tree.c
cmd-clear-history.c
cmd-command-prompt.c
cmd-confirm-before.c Instead of combined flags for -c, -s, -t, split into different sets Dec 14, 2015
cmd-copy-mode.c
cmd-detach-client.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-display-message.c Instead of combined flags for -c, -s, -t, split into different sets Dec 14, 2015
cmd-display-panes.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-find-window.c
cmd-find.c Merge branch 'obsd-master' Mar 3, 2016
cmd-if-shell.c Remove some more unused variables, and use RB_FOREACH_SAFE in Mar 1, 2016
cmd-join-pane.c
cmd-kill-pane.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-kill-server.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-kill-session.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-kill-window.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-list-buffers.c
cmd-list-clients.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-list-keys.c
cmd-list-panes.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-list-sessions.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-list-windows.c
cmd-list.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-load-buffer.c Do not use c->cwd or s->cwd if it is NULL, found by Ben Boeckel. Mar 5, 2016
cmd-lock-server.c
cmd-move-window.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-new-session.c
cmd-new-window.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-paste-buffer.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-pipe-pane.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-queue.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-refresh-client.c
cmd-rename-session.c
cmd-rename-window.c
cmd-resize-pane.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-respawn-pane.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-respawn-window.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-rotate-window.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-run-shell.c Expand client formats in run-shell. Feb 12, 2016
cmd-save-buffer.c Merge branch 'obsd-master' Mar 5, 2016
cmd-select-layout.c
cmd-select-pane.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-select-window.c
cmd-send-keys.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-set-buffer.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-set-environment.c show-* and set-* need to handle a missing target. Mar 3, 2016
cmd-set-hook.c Instead of combined flags for -c, -s, -t, split into different sets Dec 14, 2015
cmd-set-option.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-show-environment.c show-* and set-* need to handle a missing target. Mar 3, 2016
cmd-show-messages.c
cmd-show-options.c show-* and set-* need to handle a missing target. Mar 3, 2016
cmd-source-file.c
cmd-split-window.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-string.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-swap-pane.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-swap-window.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-switch-client.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
cmd-unbind-key.c I no longer use my SourceForge address so replace it. Jan 19, 2016
cmd-wait-for.c
cmd.c Merge branch 'obsd-master' Mar 2, 2016
colour.c I no longer use my SourceForge address so replace it. Jan 19, 2016
compat.h Update my email address. Jan 19, 2016
configure.ac Cleanup warnings Nov 9, 2019
control-notify.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
control.c
create_keys.sh
docker-entrypoint.sh
environ.c I no longer use my SourceForge address so replace it. Jan 19, 2016
example_tmux.conf
format.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
grid-view.c
grid.c Add RGB escape sequences for capture-pane -e. Jan 31, 2016
hooks.c Add infrastructure to work out the best target given a pane or window Dec 16, 2015
input-keys.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
input.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
install_libssh_travis.sh
install_msgpack_travis.sh Fix Travis CI build (#47) Nov 30, 2018
job.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
key-bindings.c Remove some more unused variables, and use RB_FOREACH_SAFE in Mar 1, 2016
key-string.c Instead of reusing MouseUp at the finish of a drag, add a new key Mar 18, 2016
layout-custom.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
layout-set.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
layout.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
log.c Cleanup logging Nov 10, 2019
mdoc2man.awk Generate tmux.1 using mdoc2man.awk on Solaris, issue brought up and c… Apr 16, 2013
mode-key.c
names.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
notify.c Merge branch 'obsd-master' Jun 7, 2015
options-table.c Merge remote-tracking branch 'tmux/master' Mar 27, 2016
options.c I no longer use my SourceForge address so replace it. Jan 19, 2016
osdep-aix.c Update my email address. Jan 19, 2016
osdep-cygwin.c Update my email address. Jan 19, 2016
osdep-darwin.c Cleanup warnings Nov 9, 2019
osdep-dragonfly.c
osdep-freebsd.c Update my email address. Jan 19, 2016
osdep-hpux.c Update my email address. Jan 19, 2016
osdep-linux.c Update my email address. Jan 19, 2016
osdep-netbsd.c Update my email address. Jan 19, 2016
osdep-openbsd.c Merge branch 'obsd-master' Jan 19, 2016
osdep-sunos.c No need for $Id$ now. Nov 8, 2014
osdep-unknown.c Update my email address. Jan 19, 2016
paste.c Merge branch 'obsd-master' Jan 19, 2016
proc.c
resize.c
screen-redraw.c
screen-write.c Clear RGB flags during selection. Jan 31, 2016
screen.c I no longer use my SourceForge address so replace it. Jan 19, 2016
server-client.c Cleanup logging Nov 10, 2019
server-fn.c
server.c nits Nov 10, 2019
session.c Cleanup warnings Nov 9, 2019
signal.c
status.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
style.c I no longer use my SourceForge address so replace it. Jan 19, 2016
tmate-auth-keys.c Cleanup logging Nov 10, 2019
tmate-daemon-decoder.c nits Nov 10, 2019
tmate-daemon-encoder.c Cleanup logging Nov 10, 2019
tmate-daemon-legacy.c
tmate-debug.c Unify tmate-debug.c with tmate Nov 10, 2019
tmate-main.c nits Nov 10, 2019
tmate-msgpack.c nits Mar 27, 2016
tmate-protocol.h Log uname Nov 10, 2019
tmate-rand.c Refactor code Nov 7, 2019
tmate-slave Rename: tmate-slave -> tmate-ssh-server Apr 10, 2019
tmate-ssh-client-pty.c Cleanup logging Nov 10, 2019
tmate-ssh-daemon.c Rename account-key -> api-key Nov 11, 2019
tmate-ssh-exec.c Cleanup logging Nov 10, 2019
tmate-ssh-latency.c Remove latency measurements Oct 9, 2019
tmate-ssh-server.c Unify tmate-debug.c with tmate Nov 10, 2019
tmate-websocket.c Cleanup logging Nov 10, 2019
tmate.1 Slave implementation draft Jun 10, 2013
tmate.h Cleanup logging Nov 10, 2019
tmux.1 Merge branch 'obsd-master' Mar 18, 2016
tmux.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
tmux.h Cleanup logging Nov 10, 2019
tty-acs.c I no longer use my SourceForge address so replace it. Jan 19, 2016
tty-keys.c Handle wcwidth() and mbtowc() failures in better style and drop Mar 2, 2016
tty-term.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
tty.c
utf8.c +wchar.h Mar 2, 2016
window-choose.c I no longer use my SourceForge address so replace it. Jan 19, 2016
window-clock.c
window-copy.c Rename TMATE_SLAVE -> TMATE Nov 9, 2019
window-copy.h Merge remote-tracking branch 'tmux/master' Mar 27, 2016
window.c
xmalloc.c Cleanup warnings Nov 9, 2019
xmalloc.h xmalloc: define __bounded__ where necessary Feb 7, 2016
xterm-keys.c I no longer use my SourceForge address so replace it. Jan 19, 2016

README.md

tmate server side

tmate-ssh-server is the server side part of tmate.io.

Usage

See on tmate.io.

Docker image

A docker image is provided: tmate/tmate-ssh-server

The following environment variables are used to configure the server:

  • SSH_KEYS_PATH (mandatory): The path where the ssh keys are located.
  • HAS_WEBSOCKET: set to 1 if the tmate-websocket server exists (for HTML5 clients).
  • USE_PROXY_PROTOCOL: set to 1 if the ssh server is behind a load balancer that uses the proxy protocol enabled. This is useful to get client real IPs.
  • SSH_HOSTNAME: configures the SSH hostname to advertise to tmate hosts.
  • SSH_PORT_LISTEN: port on which the SSH server should listen on.
  • SSH_PORT_ADVERTISE: configures the SSH port to advertise to tmate hosts. Defaults to SSH_PORT_LISTEN.

Note that you need to add the SYS_ADMIN capability to the container. This is needed to create nested containers (namespaces) to secure sessions.

License

MIT license.

You can’t perform that action at this time.