Desktop Access CLI Reference
The following tctl
commands are used to manage the Teleport Windows Desktop
Service.
- To check that you can connect to your Teleport cluster, sign in with
tsh login
, then verify that you can runtctl
commands using your current credentials.tctl
is supported on macOS and Linux machines. For example:If you can connect to the cluster and run the$ tsh login --proxy=teleport.example.com --user=email@example.com
$ tctl status
# Cluster teleport.example.com
# Version 15.4.22
# CA pin sha256:abdc1245efgh5678abdc1245efgh5678abdc1245efgh5678abdc1245efgh5678tctl status
command, you can use your current credentials to run subsequenttctl
commands from your workstation. If you host your own Teleport cluster, you can also runtctl
commands on the computer that hosts the Teleport Auth Service for full permissions.
Generate a join token for a Windows Desktop Service:
$ tctl tokens add --type=WindowsDesktop
List registered Windows Desktop Services:
$ tctl get windows_desktop_service
List registered Windows desktops:
$ tctl get windows_desktop