======================
INSTALL
-------
ubuntu
>>>>>>
::
git clone https://github.com/ShichaoMa/exec_cmd.git
sudo python setup.py install
or
sudo pip install executecmd
START
>>>>>
::
ubuntu@dev:~$ exec-cmd -h
usage: exec-cmd [-h] {sftp,smc,ssh} ...
ssh or sftp cmd execute.
positional arguments:
{sftp,smc,ssh} cmd
sftp use sftp to send or receive files or floders to or from
remote.
smc simple cmd to execute.
ssh use ssh execute cmd in remote.
optional arguments:
-h, --help show this help message and exit
Command 'sftp'
usage: exec-cmd sftp [-h] [--host-file HOST_FILE] [-p]
Command 'smc'
usage: exec-cmd smc [-h] --host HOST [--port PORT] -u USER -p PASSWORD -c
COMMAND
Command 'ssh'
usage: exec-cmd ssh [-h] [--host-file HOST_FILE] [-f] [-b]
DESCRIPTION
>>>>>>>>>>>
- --host_file 指定配置文件 格式参见: ssh_, scp_。
.. _ssh: https://github.com/ShichaoMa/exec_cmd/blob/master/host_file_ssh
.. _scp: https://github.com/ShichaoMa/exec_cmd/blob/master/host_file_sftp
- stfp 模式
- -p 是否显示进度条
- ssh 模式
- -f 每个远程主机指令集是否顺序执行,或并发执行
- -b 是否阻塞进程等待指令集执行完毕,并返回信息
- smc 简单命令执行
- --host host
- --port port
- -u username
- -p password
- -c command
Metadata
Release files for executecmd 1.0.10
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 |
|---|---|---|---|---|
| executecmd-1.0.10.tar.gz | 5.9 kB | Without provenance | Details for executecmd-1.0.10.tar.gz |
Release files / executecmd-1.0.10.tar.gz
| Download URL | executecmd-1.0.10.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d17b8e2f01f381a352a85579516e5e1123c7adc584972a4a6614bc2f9a880bfe
|
|
BLAKE2b-256 checksum How to use checksums |
51273a6f7f1e80d3d94626d585c0fc00979b428aadc2b325c7daf57066b4a65d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for executecmd 1.0.10
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.