All apps/Teleport tsh

Teleport tsh

tsh

Teleport provides connectivity, authentication, access controls and audit for infrastructure.

Runs as tsh|macOS, Linux, Windows|goteleport.com

Command form

ai-draft · 3 tasks · 17 fields

Log in to a Teleport cluster, list nodes and open SSH sessions. Databases, Kubernetes, apps and access requests are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui tsh

tsh login

Log in

Log in to a cluster and fetch a session certificate.

Log inExample values, fixed in this page — nothing here reaches a terminal
Basic
Proxy address*
string
User
string
Auth connector
string
TasksEach one presets the form for one job
Log in to proxy
proxyuserauth
ParametersOnly these flags are editable in the form
Proxy address
string
--proxy
User
string
--user
Auth connector
string
--auth
Minutes to live
string
--ttl
Skip certificate verification
boolean
--insecure
Output format
enum
-f--formattextjsonyaml
Quiet
boolean
-q--quiet

tsh ls

List nodes

List remote SSH nodes.

List nodesExample values, fixed in this page — nothing here reaches a terminal
Basic
Output format
3 choicesenum
TasksEach one presets the form for one job
List nodes
format
ParametersOnly these flags are editable in the form
Output format
enum
-f--formattextjsonyaml
Quiet
boolean
-q--quiet
Proxy address
string
--proxy

tsh ssh

SSH to a node

Run a shell on a node through Teleport. Port forwarding options are left out.

SSH to a nodeExample values, fixed in this page — nothing here reaches a terminal
Basic
user@hostname*
string
TasksEach one presets the form for one job
Connect
target
ParametersOnly these flags are editable in the form
user@hostname
string · positional 0
Login name
string
-l
Port
integer
-p
Forward auth agent
boolean
-A
Identity file
path
-i
Disable pseudo-tty
boolean
-T
Quiet
boolean
-q
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed tsh against its version. A form that does not match your version is not offered.