neko_rexec
send remote command through paramiko via ssh.
attention: we assume that your command will surely be finished in limited time, and this program will output nothing before your command is done on the remote server.
install from github release
- go https://github.com/GGN-2015/rexec/releases and download a
.whlfile. - use
pip install rexec-<version>-py3-none-any.whlto install the package into your local environment.
install from pypi
pip install neko_rexec
usage
send remote command to server via ssh
you need to fill in six parameters in the following order, if you are not sure about the <port> argument, try to let <port> equal to 22.
python3 -m neko_rexec <user> <host> <cmd> <password> <port>
without password
if you have configured an auto login with ~/.ssh/authorized_keys, you can just leave <password> blank as follows:
python3 -m neko_rexec <user> <host> <cmd> "" <port>
sample
here is a sample usage of this package, this will output a detailed list of file under the home folder of the user named "admin".
python3 -m neko_rexec "admin" "192.168.0.1" "cd ~; ls -alh" "1145141919810" 22
Metadata
Release files for neko-rexec 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neko_rexec-0.0.4.tar.gz | 4.1 kB | Without provenance | Details for neko_rexec-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neko_rexec-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for neko_rexec-0.0.4-py3-none-any.whl |
Total release size: 9.2 kB
Release files / neko_rexec-0.0.4.tar.gz
| Download URL | neko_rexec-0.0.4.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66e09ac6a7f061afdc7759fbfa1f8a957103d2f1458241f3834c519613e8b58b
|
|
BLAKE2b-256 checksum How to use checksums |
788ca00ac21c7a8b635e6581e9f63a3f6f8501aac4770d448d2d6e91cb0da806
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / neko_rexec-0.0.4-py3-none-any.whl
| Download URL | neko_rexec-0.0.4-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
671585b44efb027e598b6a4409db707e67d5a575605d572e0971e9b31599442d
|
|
BLAKE2b-256 checksum How to use checksums |
58564194e5c16d3543387ce054917155140fbca1e0987cbf69c6fceaeabbbf3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for neko-rexec 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.