데스크톱 접근 CLI 참조
Teleport v18.9다음 tctl 명령어는 Teleport Windows Desktop 서비스를 관리하는 데 사용됩니다. Teleport cluster에 연결할 수 있는지 확인하려면 tsh login으로 로그인한 다음, 현재 자격 증명으로 tctl 명령을 실행할 수 있는지 확인합니다.
다음 tctl 명령어는 Teleport Windows Desktop 서비스를 관리하는 데 사용됩니다.
Teleport cluster에 연결할 수 있는지 확인하려면 tsh login으로 로그인한 다음,
현재 자격 증명으로 tctl 명령을 실행할 수 있는지 확인합니다.
예를 들어, teleport.example.com에 cluster 내 Teleport Proxy Service의
도메인 이름을, email@example.com에 Teleport 사용자 이름을 지정하여
다음 명령을 실행합니다:
$ tsh login --proxy=teleport.example.com --user=email@example.com
$ tctl status
# Cluster (=teleport.url=)
# Version (=teleport.version=)
# CA pin (=presets.ca_pin=)
cluster에 연결하여 tctl status 명령을 실행할 수 있다면, 현재 자격 증명을 사용하여
워크스테이션에서 이후의 tctl 명령을 실행할 수 있습니다.
자체 Teleport cluster를 호스팅하는 경우, 전체 권한을 얻기 위해 Teleport Auth Service를
호스팅하는 컴퓨터에서 tctl 명령을 실행할 수도 있습니다.
Windows Desktop Service를 위한 조인 토큰 생성:
$ tctl tokens add --type=WindowsDesktop
등록된 Windows Desktop Service 목록 조회:
$ tctl get windows_desktop_service
등록된 Windows 데스크톱 목록 조회:
$ tctl get windows_desktop