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

Populate tsh profile after ad-hoc login. #1705

Merged
merged 1 commit into from
Feb 20, 2018
Merged

Populate tsh profile after ad-hoc login. #1705

merged 1 commit into from
Feb 20, 2018

Conversation

klizhentas
Copy link
Contributor

If user has not logged in yet, and runs

tsh --proxy=example.com ls

Teleport launches ad-hoc login screen, however
because tsh did not write profile, username
and proxy were lost, so any next execution

tsh --proxy=example.com ls

Will launch the same login screen and will
ask for proxy, what is not user-friendly.

This PR fixes it by saving profile after
ad-hoc login attempts.

@klizhentas
Copy link
Contributor Author

retest this please

If user has not logged in yet, and runs

tsh --proxy=example.com ls

Teleport launches ad-hoc login screen, however
because tsh did not write profile, username
and proxy were lost, so any next execution

tsh --proxy=example.com ls

Will launch the same login screen and will
ask for proxy, what is not user-friendly.

This PR fixes it by saving profile after
ad-hoc login attempts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants