Skip to main content

tuna bastion

Bastion operations.

Guide with examples: Bastion.

Subcommands​

CommandDescription
tuna bastion listList remote servers.
tuna bastion loginLogin to bastion and retrieve certificate.
tuna bastion logoutRemove existed certificates.
tuna bastion sshRun shell on a remote server.
tuna bastion ssh_configGenerate config for SSH client.
tuna bastion statusView certificate status.

tuna bastion list​

List remote servers.

Alias: ls, servers.

Usage
tuna bastion list [flags]
FlagDescription
--jsonOutput in JSON format.

tuna bastion login​

Login to bastion and retrieve certificate.

Usage
tuna bastion login [login] [flags]
FlagDescription
--ttl durationLogin TTL. Default: 15m.

tuna bastion logout​

Remove existed certificates.

Usage
tuna bastion logout

tuna bastion ssh​

Run shell on a remote server.

Usage
tuna bastion ssh [login]@<host>

tuna bastion ssh_config​

Generate config for SSH client.

Usage
tuna bastion ssh_config [login]@<host>

tuna bastion status​

View certificate status.

Usage
tuna bastion status

Global flags work too.