Tmate-ssh-server

  • Canonical IS DevOps
Channel Revision Published Runs on
latest/stable 4 13 Feb 2024
Ubuntu 22.04
latest/edge 6 27 Sep 2024
Ubuntu 22.04
juju deploy tmate-ssh-server
Show information

Platform:

Ubuntu
22.04

How to get server config

Get server config

To retrieve the server configuration for tmate client (contents of .tmate.conf), run the following action.

juju run tmate-ssh-server/0 get-server-config

The output should look similar to the contents below:

Running operation 1 with 1 task
  - task 1 on unit-tmate-ssh-server-0

Waiting for task 1...
tmate-config: |2

  set -g tmate-server-host <unit-ip>
  set -g tmate-server-port 10022
  set -g tmate-server-rsa-fingerprint <rsa-fingerprint>
  set -g tmate-server-ed25519-fingerprint <ed25519-fingerprint>

You can use the output above as the tmate configuration file (.tmate.conf) contents on a tmate client machine.


Help improve this document in the forum (guidelines). Last updated 9 months ago.