You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an external identity provider, tsh login writes keys to disk with the wrong name (name of the local Linux user) instead of the username returned by the identity provide. This was fixed in #1642 but not backported to branch/2.4.
$ ./tsh.sh --proxy=localhost login
If browser window does not open automatically, open it by clicking on the link:
[...]
You are now logged in
$ tree ~/.tsh/
/Users/rjones/.tsh/
├── keys
│ └── localhost
│ ├── rjones
│ ├── rjones-cert.pub
│ └── rjones.pub
├── known_hosts
├── localhost.yaml
└── profile -> localhost.yaml
$ ./tsh.sh --proxy=localhost ls
If browser window does not open automatically, open it by clicking on the link:
[...]
Node Name Node ID Address Labels
--------- ------------------------------------ -------------- -------------------------------------------------------------
proxy 30465e32-7b48-4d8f-9b24-be80c2dd77c9 127.0.0.1:3022 arch=fork/exec /bin/uname: no such file or directory output:
$ tree ~/.tsh/
/Users/rjones/.tsh/
├── cache
│ └── localhost:3023
│ └── example.com
│ └── namespaces
│ └── default
│ └── nodes
│ └── 30465e32-7b48-4d8f-9b24-be80c2dd77c9
├── keys
│ └── localhost
│ ├── rjones
│ ├── rjones-cert.pub
│ ├── rjones.pub
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── known_hosts
├── localhost.yaml
└── profile -> localhost.yaml
8 directories, 10 files
Proposed Solution
Backport the chunk of #1642 where the username in the local agent is set if using an external identity provider.
The text was updated successfully, but these errors were encountered:
Problem
When using an external identity provider,
tsh login
writes keys to disk with the wrong name (name of the local Linux user) instead of the username returned by the identity provide. This was fixed in #1642 but not backported tobranch/2.4
.Proposed Solution
Backport the chunk of #1642 where the username in the local agent is set if using an external identity provider.
The text was updated successfully, but these errors were encountered: