mccli

SSH client wrapper with OIDC-based authentication

mccli [OPTIONS] COMMAND [ARGS]...

Options

--token <TOKEN>

Pass token directly. Environment variables are checked in given order.

--oa-account, --oidc <SHORTNAME>

Name of configured account in oidc-agent.

--iss, --issuer <URL>

URL of token issuer. Configured account in oidc-agent for this issuer will be used. Environment variables are checked in given order.

--mc-endpoint <URL>

motley_cue API endpoint. Default URLs are checked in given order: https://HOSTNAME, https://HOSTNAME:8443, http://HOSTNAME:8080

--insecure

Ignore verifying the SSL certificate for motley_cue endpoint, NOT RECOMMENDED.

--no-cache

Do not cache HTTP requests.

--debug

Sets the log level to DEBUG.

--log-level <LEVEL>

Either CRITICAL, ERROR, WARNING, INFO or DEBUG. Default value: ERROR.

--disable-version-check

Disable warnings if a new version of mccli is available for download on Pypi.

-h, --help

Show this message and exit.

-V, --version

Print program version and exit.

Environment variables

['ACCESS_TOKEN', 'OIDC', 'OS_ACCESS_TOKEN', 'OIDC_ACCESS_TOKEN', 'WATTS_TOKEN', 'WATTSON_TOKEN']

Provide a default for --token

['OIDC_AGENT_ACCOUNT']

Provide a default for --oa-account

['OIDC_ISS', 'OIDC_ISSUER']

Provide a default for --iss

LOG

Provide a default for --log-level

Commands

info

get info about service

scp

secure file copy

sftp

secure file transfer

ssh

remote login client