Get system information via ssh channel.
Project description
ssh-get-sysinfo
Get system information via ssh channel.
Install
pip install ssh-get-sysinfo
Installed Commands
- ssh-get-sysinfo
Usage
C:\Workspace\ssh-get-sysinfo>ssh-get-sysinfo --help
Usage: ssh-get-sysinfo [OPTIONS]
Options:
-h, --host TEXT default to localhsot.
-P, --port INTEGER default to 22.
-u, --user TEXT default to root.
-i, --private-key TEXT default to ~/.ssh/id_rsa
-p, --password TEXT NO password means using public key auth.
--help Show this message and exit.
Example
- get localhost sysinfo by connect to root@localhost with public key auth.
ssh-get-sysinfo
- get SERVER's sysinfo by connect to root@SERVER with public key auth.
ssh-get-sysinfo -h SERVER
- get SERVER's sysinfo by connect to root@SERVER with PASSWORD auth.
ssh-get-sysinfo -h SERVER -p PASSWORD
Release
v0.1.0 2020/05/22
- First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ssh-get-sysinfo-0.1.0.tar.gz
(3.1 kB
view details)
File details
Details for the file ssh-get-sysinfo-0.1.0.tar.gz
.
File metadata
- Download URL: ssh-get-sysinfo-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 112006acd0b08cd5666fcc4cd07b8b0007cbb28993ad69b04b976362eb627f94 |
|
MD5 | a108dcbfc2279220e733f42b5fcc12db |
|
BLAKE2b-256 | 6274d4f9d14fc849229c4e6705c955f5a26cd4d23452dbbfddd8a21c01f3bcc0 |