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

Tsh status command #1628

Closed
klizhentas opened this issue Jan 24, 2018 · 2 comments
Closed

Tsh status command #1628

klizhentas opened this issue Jan 24, 2018 · 2 comments
Assignees
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements ux

Comments

@klizhentas
Copy link
Contributor

Description

User feedback:

It will be helpful to have tsh status command that will show something like:

Proxy 1:
-----------
User: alice
Roles: admin, poweruser
Cert expires: 10h
@klizhentas klizhentas added feature-request Used for new features in Teleport, improvements to current should be #enhancements ux labels Jan 24, 2018
@kontsevoy kontsevoy added this to the 2.5.1 "Portland" milestone Feb 5, 2018
@kontsevoy
Copy link
Contributor

this would be lovely

@kontsevoy kontsevoy modified the milestones: 2.5.1 "Portland", 2.6.0 "Austin" Feb 5, 2018
@russjones
Copy link
Contributor

New format from #1859.

> Proxy URL      https://proxy.example.com:3080
  Logged in as:  [email protected]
  Roles:         admin*
  Logins:        rjones, root
  Valid until:   03/04/2018 2:45pm PST [EXPIRED]
  Extensions:    permit-agent-forwarding, permit-port-forwarding, permit-pty

  Proxy URL      https://another.example.com:3080
  Logged in as:  [email protected]
  Roles:         admin*
  Logins:        rjones, root
  Valid until:   03/04/2018 2:45pm PST [valid for 3 hours 25 minutes]
  Extensions:    permit-agent-forwarding, permit-port-forwarding, permit-pty


* RBAC is only available in Teleport Enterprise
  https://gravitaitonal.com/teleport/docs/enteprise

Also, tsh login has --proxy flag. The same flag shall be accepted by tsh status, i.e.:

$ tsh --proxy=another.example.com status

  Proxy URL      https://another.example.com:3080
  Logged in as:  [email protected]
  Roles:         admin*
  Logins:        rjones, root
  Valid until:   03/04/2018 2:45pm PST [valid for 3 hours 25 minutes]
  Extensions:    permit-agent-forwarding, permit-port-forwarding, permit-pty

* RBAC is only available in Teleport Enterprise
  https://gravitaitonal.com/teleport/docs/enteprise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements ux
Projects
None yet
Development

No branches or pull requests

4 participants