Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Multi auth tsh login using hardware key #45100

Closed
wants to merge 3 commits into from

Conversation

peteroneilljr
Copy link
Contributor

Adding a small comment about multi-auth for tsh login. My account was created with hardware key authentication only and I hit this error where I could not authenticate on the CLI.

The fix was to add a password in the web portal then reattempt the tsh login. Having this comment would have helped me progress past the problem a bit faster.

Copy link

github-actions bot commented Aug 5, 2024

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

Copy link

github-actions bot commented Aug 5, 2024

🤖 Vercel preview here: https://docs-j1qfu8njr-goteleport.vercel.app/docs/ver/preview

@peteroneilljr peteroneilljr added the no-changelog Indicates that a PR does not require a changelog entry label Aug 5, 2024
docs/pages/connect-your-client/tsh.mdx Outdated Show resolved Hide resolved
docs/pages/connect-your-client/tsh.mdx Outdated Show resolved Hide resolved
Co-authored-by: Steven Martin <steven@goteleport.com>
Co-authored-by: Steven Martin <steven@goteleport.com>
Copy link

github-actions bot commented Aug 6, 2024

🤖 Vercel preview here: https://docs-g94vgfubp-goteleport.vercel.app/docs/ver/preview

Copy link

github-actions bot commented Aug 6, 2024

🤖 Vercel preview here: https://docs-d7o8jn3ts-goteleport.vercel.app/docs/ver/preview

@zmb3
Copy link
Collaborator

zmb3 commented Aug 6, 2024

Thanks @peteroneilljr for taking the time to try to clarify something that confused you 🙏

I'm not sure this is technically accurate though. Passwordless login with a hardware key is supported by tsh - you should not need to add a password.

@peteroneilljr
Copy link
Contributor Author

Screenshot 2024-08-05 at 12 45 41 PM

Not sure I can verify this now that I have a password set. But when my password was undefined I was receiving this error.

This could also have been caused by installing teleport from homebrew, which I believe was locked to version 14.x

Feel free to close if you feel this is inaccurate.

@zmb3
Copy link
Collaborator

zmb3 commented Aug 6, 2024

Yeah, if passwordless is not the default, then you would have needed to specify tsh login --auth=passwordless in order to avoid the password prompt.

@zmb3 zmb3 closed this Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants