From 5ca120542e64b1e8c6f12c9a98b13f737514fffa Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 17 Mar 2022 08:59:37 -0400 Subject: [PATCH] corrects some powershell examples and put in code for linux commands --- docs/pages/desktop-access/getting-started.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/pages/desktop-access/getting-started.mdx b/docs/pages/desktop-access/getting-started.mdx index 17191b3b721c4..caa1df9757a00 100644 --- a/docs/pages/desktop-access/getting-started.mdx +++ b/docs/pages/desktop-access/getting-started.mdx @@ -156,7 +156,7 @@ certificate-based smart card authentication, and ensuring RDP is enabled. 1. Get the Teleport user CA certificate by running: -``` +```code $ tctl auth export --type=windows > user-ca.cer ``` @@ -237,16 +237,16 @@ access. 1. Publish the CA to LDAP: -``` -$ certutil –dspublish –f NTAuthCA +```powershell +certutil –dspublish –f NTAuthCA ``` 2. Force the retrieval of the CA from LDAP. While this step is not required, it speeds up the process and allows you to proceed to the next steps without waiting for the certificate to propagate. -``` -$ certutil -pulse +```powershell +certutil -pulse ``` ### Enable the Smart Card service @@ -384,7 +384,7 @@ providing a join token. First, generate a join token with the following command: -``` +```code $ tctl tokens add --type=windowsdesktop ```