Skip to main content

execute remote command.

Project description


git clone
sudo python install


sudo pip install executecmd

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
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 'ssh'
usage: exec-cmd ssh [-h] [--host-file HOST_FILE] [-f] [-b]


- --host_file 指定配置文件 格式参见: ssh_, scp_。
.. _ssh:
.. _scp:
- stfp 模式
- -p 是否显示进度条
- ssh 模式
- -f 每个远程主机指令集是否顺序执行,或并发执行
- -b 是否阻塞进程等待指令集执行完毕,并返回信息
- smc 简单命令执行
- --host host
- --port port
- -u username
- -p password
- -c command

Project details

Download files

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

Files for executecmd, version 1.0.10
Filename, size File type Python version Upload date Hashes
Filename, size executecmd-1.0.10.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page