Skip to main content

tuna ssh

Start an SSH server.

Guide with examples: SSHd.

Usage
tuna ssh [flags]
Examples
tuna ssh
tuna ssh --auth="*:pass"
tuna ssh --auth="user:pass"
tuna ssh --password-auth=false
tuna ssh --port=ssh
tuna ssh --port=35000
tuna ssh --user-shell-env=false
FlagDescription
--api-key stringYour tuna.am api key with the tunnels:connect scope (env TUNA_API_KEY).
--auth stringAdd static authentication (e.g. user:pass). Can be repeated.
--cidr-allow stringReject connections that do not match the given CIDRs. Can be repeated.
--cidr-deny stringReject connections that match the given CIDRs. Can be repeated.
--password-authEnable or disable password authentication. Default: true.
-p, --port stringPort for incoming connections.
--record-sessionSave SSH session to disk. Default: true.
--uploadAutomatically upload sessions on completion.
--user-shell-envStart user's login shell with full environment (home dir, rc files). Default: true.

Global flags work too.