1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00
Anderson Sasaki 97d20249be
Explicitly parse config to avoid options override (#74)
Since libssh 0.9.0 the global server configuration file is automatically
parsed when new connections are accepted, unless
ssh_bind_options_parse_config() is explicitly called or the automatic
parsing is disabled by setting the SSH_BIND_OPTIONS_PROCESS_CONFIG
option with false.

This adds an explicit call to ssh_bind_options_parse_config() before
setting the options to avoid them to be overridden.

Fixes #72

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2020-04-27 19:54:26 -04:00
2019-11-08 23:54:36 -05:00
2015-09-14 15:59:21 +01:00
2015-12-08 08:46:06 +00:00
2018-11-30 11:06:01 -05:00
2016-03-28 01:43:28 -04:00
2014-11-08 12:27:43 +00:00
2015-06-03 18:26:25 +01:00
2016-01-19 18:01:15 +00:00
2015-10-18 18:10:43 +01:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2016-03-03 16:01:11 +00:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2016-03-05 10:01:09 +00:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2016-01-19 18:01:15 +00:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2016-03-02 18:10:51 +00:00
2016-01-19 18:07:25 +00:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-10 15:52:31 -05:00
2019-10-09 18:59:38 -04:00
FAQ
2015-06-04 08:47:23 +01:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-09 23:28:07 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2015-06-07 23:42:25 +01:00
2016-01-19 18:07:25 +00:00
2016-01-19 18:07:25 +00:00
2019-11-08 23:54:36 -05:00
2016-01-19 18:07:25 +00:00
2016-01-19 18:07:25 +00:00
2016-01-19 18:07:25 +00:00
2016-01-19 18:07:25 +00:00
2016-01-19 18:07:25 +00:00
2016-01-19 18:01:15 +00:00
2014-11-08 12:27:43 +00:00
2016-01-19 18:07:25 +00:00
2016-01-19 18:01:15 +00:00
2019-11-08 23:54:36 -05:00
2019-10-14 23:21:11 -04:00
2019-11-08 23:54:36 -05:00
2019-11-09 23:28:07 -05:00
2019-11-08 23:54:36 -05:00
2019-11-10 15:52:31 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2015-06-04 10:35:40 +01:00
2019-11-09 23:28:07 -05:00
2019-11-10 15:52:31 -05:00
2019-11-09 23:28:07 -05:00
2019-11-10 15:52:31 -05:00
2019-11-10 15:52:31 -05:00
2016-03-27 02:10:58 -04:00
2019-11-10 15:52:31 -05:00
2019-11-07 08:01:49 -05:00
2019-11-09 23:28:07 -05:00
2019-11-09 23:28:07 -05:00
2013-06-10 01:54:29 -04:00
2019-11-09 23:28:07 -05:00
2016-03-18 08:01:18 +00:00
2019-11-08 23:54:36 -05:00
2019-11-09 23:28:07 -05:00
2016-03-20 08:14:14 +00:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2016-03-02 18:19:13 +00:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00
2019-11-08 23:54:36 -05:00

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.

Description
No description provided
Readme 17 MiB
Languages
C 90.8%
Roff 6.9%
M4 0.9%
Awk 0.6%
Makefile 0.4%
Other 0.3%