We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem
tsh does not respect the user field in ~/.tsh/profile.
tsh
user
~/.tsh/profile
Reproduction
tsh --proxy=localhost login
tsh --proxy=localhost ssh localhost
During Step 3 you will be redirected to your identity provider to login again because tsh only reads profiles if no proxy is set: https://github.com/gravitational/teleport/blob/master/tool/tsh/common/tsh.go#L514-L519
Solution
--proxy
~/.tsh/<proxy-addr>.yaml
For both cases, after reading the profile, override the values with command line flags.
The text was updated successfully, but these errors were encountered:
CI: Fail if an update to yarn.lock is needed (gravitational#1047)
aa5c34e
* CI: Fail if an update to yarn.lock is needed * Clean up the lockfile
CI: Fail if an update to yarn.lock is needed (#1047)
ae51c87
[v10] CI: Fail if an update to yarn.lock is needed (#1047) (#1056)
1ed9e47
russjones
No branches or pull requests
Problem
tsh
does not respect theuser
field in~/.tsh/profile
.Reproduction
tsh --proxy=localhost login
tsh --proxy=localhost ssh localhost
During Step 3 you will be redirected to your identity provider to login again because
tsh
only reads profiles if no proxy is set: https://github.com/gravitational/teleport/blob/master/tool/tsh/common/tsh.go#L514-L519Solution
--proxy
is not set, read the~/.tsh/profile
symlink.--proxy
is set, read profile from~/.tsh/<proxy-addr>.yaml
.For both cases, after reading the profile, override the values with command line flags.
The text was updated successfully, but these errors were encountered: