This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

execute remote command.

Project Description
多线程并发执行远程主机文件复制及远程命令执行
======================
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

Release History

Release History

This version
History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
executecmd-1.0.7.tar.gz (5.9 kB) Copy SHA256 Checksum SHA256 Source Mar 17, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting