mc_ssh
SSH client wrapper for SSH with access token
Installation
- Install mc_ssh from source:
- Install prerequisites:
pip install -r requirements.txt - Build package:
./setup.py sdist - Install package:
pip install dist/mc_ssh-$version.tar.gz
- Install prerequisites:
Usage
$ mccli --help
Usage: mccli [OPTIONS] COMMAND [ARGS]...
ssh client wrapper for oidc-based authentication
Options:
--help Show this message and exit.
Commands:
scp secure file copy
sftp
ssh open a login shell or execute a command via ssh
$ mccli ssh --help
Usage: mccli ssh [OPTIONS] HOSTNAME [COMMAND]
Options:
--mc-endpoint TEXT motley_cue API endpoint, default:
https://HOSTNAME
Access Token sources: [mutually_exclusive]
--oa-account TEXT name of configured account in oidc-agent,
has priority over --token [env var:
OIDC_AGENT_ACCOUNT]
--token TEXT pass token directly, env variables are
checked in given order [env var:
ACCESS_TOKEN, OIDC, OS_ACCESS_TOKEN,
OIDC_ACCESS_TOKEN, WATTS_TOKEN,
WATTSON_TOKEN]
SSH options: supported options to be passed to SSH
-p <int> port to connect to on remote host
--help Show this message and exit.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mc_ssh-0.0.1.tar.gz
(10.3 kB
view details)
File details
Details for the file mc_ssh-0.0.1.tar.gz.
File metadata
- Download URL: mc_ssh-0.0.1.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
394583370dd19c9fd51d7875337afd3b3c4f32953b705cc52478ab12f7821cec
|
|
| MD5 |
8cac899991f8431d9d1a56c75153b8ec
|
|
| BLAKE2b-256 |
839e44113d0533082c0d23077f403a8efd996b4269e1ab4fec836cbfac5a94d2
|