mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
This commit reduces the amount of typing some users have to do when using identity file: * Teleport user is set from the certificate * Auth preference is set to local In addition it fixes several UX problems: * Commands `tctl auth sign` and `tsh login -o` now include trusted CA keys in the identity file. * Command `tsh ssh -i` is now noninteractive and only uses identity file for authentication, in case if identity file can not authenticate, no other interactive or non-interactive authentication methods will be used. Before this commit, tsh tried to fallback to interactive login mode or read the keys from agent socket.