Setup — install Teleport Connect & first login

One-time setup: installing the client tools, the onboarding flow (password + OTP), and optionally adding Touch ID. After this page you have a working Teleport identity and the tsh CLI in your terminal.

1. Install Teleport Connect (and tsh via its menu)

Teleport Connect is the only supported way to get the Teleport client tools at better.care. It ships the GUI app and the tsh CLI as a single signed bundle, and its built-in updater keeps both in step.

Do not install tsh via Homebrew. The community-maintained formula breaks autoupdate and, more importantly, is not signed in the way the macOS platform authenticator requires — Touch ID enrolment (tsh mfa add --type=WEBAUTHN) will silently fail with a brew build.

Only macOS and Windows are supported as client platforms.

1.1. Download Teleport Connect

Grab the installer from https://goteleport.com/download/client-tools/ — .dmg on macOS, .exe installer on Windows. Pick the build matching the cluster version (the platform team will tell you which one). After install, the app’s Check for updates…​ command keeps you on the right version.

1.2. Install the app

  • macOS: open the .dmg and drag Teleport Connect to Applications.

  • Windows: run the installer and accept the defaults.

1.3. Add tsh to PATH

Open Teleport Connect and click the kebab menu (⋮) in the top-right corner, then choose Install tsh in PATH. This symlinks the bundled tsh binary into a system PATH location, so tsh works in any terminal — not just inside Teleport Connect.

The same menu later offers Remove tsh from PATH and Check for updates…​.

1.4. Verify

Open a new terminal and run:

tsh version

You should see a single version string for both the client and (after login) the matching proxy version.

Everything in this guide is also doable from the Teleport Connect GUI (login, SSH, kube, db) — see Teleport Connect (GUI).

2. First login (onboarding)

This is the one-time flow that gets you a working Teleport identity: password, OTP, and a short-lived cert on your laptop.

The platform team will send you a one-time URL of the form https://teleport.better.care/web/invite/<token>;. The link has a short TTL (the admin will tell you — typically a few hours). If it expires before you use it, ask for a fresh one.

The link lands you on a setup page hosted by the Teleport proxy. Use any modern browser.

2.3. Set a password

Choose a strong password. The usual better.care password rules apply (length, complexity, no reuse).

2.4. Add an OTP authenticator (mandatory)

OTP (a 6-digit time-based code) is the mandatory second factor at better.care. The authenticator app is Microsoft Authenticator.

Install it on your phone:

Platform Store link

iOS

https://apps.apple.com/app/microsoft-authenticator/id983156458

Android

https://play.google.com/store/apps/details?id=com.azure.authenticator

In Microsoft Authenticator, tap + (add account) → Other account (Google, Facebook, etc.) → scan the QR code shown in the Teleport setup page → enter the 6-digit code the app shows. Done.

Do not use passwordless / passkey as your only 2FA method. Browser passkeys (Chrome) and platform passkeys (macOS Touch ID, Windows Hello) are tied to the device or browser profile. If Chrome’s profile is wiped, the laptop is reimaged, or Touch ID is reset, the passkey is gone and you lose account access. An OTP in a phone authenticator app survives laptop changes. You can add Touch ID additionally later (see tsh mfa add — adding Touch ID (optional second factor)), but keep OTP as the primary factor.

2.5. First CLI login

In a terminal:

tsh login --proxy=teleport.better.care:443 --user=<your-username>

You’ll be prompted for your password and an OTP code. On success, tsh writes a short-lived certificate to ~/.tsh/ and prints something like:

> Profile URL:        https://teleport.better.care:443
  Logged in as:       <your-username>
  Cluster:            teleport.better.care
  Roles:              access-limited
  Logins:             <your-username>
  Kubernetes:         enabled
  Valid until:        2026-05-14 18:42:11 +0000 UTC [valid for 12h0m0s]
  Extensions:         permit-port-forwarding, permit-pty

2.6. Verify access

tsh ls          # SSH nodes
tsh kube ls     # Kubernetes clusters
tsh db ls       # databases
tsh apps ls     # web / TCP apps

If a category comes back empty, it just means the platform team hasn’t granted you anything in that category yet — it’s not a bug.

3. tsh mfa add — adding Touch ID (optional second factor)

OTP (Microsoft Authenticator on your phone) stays the primary factor. On your own macOS laptop, you may additionally enrol Touch ID for faster CLI re-authentication.

tsh mfa add --type only accepts TOTP or WEBAUTHN. Touch ID on macOS is registered as WEBAUTHN — there is no separate TOUCHID or PLATFORM type. Touch ID is one implementation of WebAuthn (a platform authenticator).

Enrol Touch ID:

tsh mfa add --type=WEBAUTHN --name=mbp-2024-<username>

List enrolled devices:

tsh mfa ls

Remove a device:

tsh mfa rm <device-name>

If Touch ID is reset, the Mac is reimaged, or the laptop is replaced, the enrolled WebAuthn device is dead — there is no way to recover it. As long as your OTP (Microsoft Authenticator on your phone) is still working, you’re fine: log in with OTP and re-enrol with tsh mfa add --type=WEBAUTHN on the new device. Never remove OTP and rely only on Touch ID.

This is why the install-via-Teleport-Connect rule matters: a Homebrew tsh build is not signed in the way macOS expects for the platform authenticator code path, and --type=WEBAUTHN enrolment will fail.