A simple tool to get linux command(s) results from remote servers
Project description
This is a simple extention of some useful python scripts on linux as a package, developed in order to make things easier and faster.
Requirements:
Paramiko
1. getcmd :
Decription: To get the output of linux commands executed on remote servers easily and quickly.
Arguments:
a. hostname(required): Supply the server name/Ip from which you need to command results.
b. username(required): usernamre to login to the server.
c. password(required): password corresponding to the username supplied.
d. cmds(required): Commands that need to be executed in the server. You can provide multiple commands to execute(a python list)
e. filename(optional): If provided, appends the output of each command to filename supplied.
Requirements:
Paramiko
1. getcmd :
Decription: To get the output of linux commands executed on remote servers easily and quickly.
Arguments:
a. hostname(required): Supply the server name/Ip from which you need to command results.
b. username(required): usernamre to login to the server.
c. password(required): password corresponding to the username supplied.
d. cmds(required): Commands that need to be executed in the server. You can provide multiple commands to execute(a python list)
e. filename(optional): If provided, appends the output of each command to filename supplied.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
linuxcmd-0.0.3.tar.gz
(1.8 kB
view hashes)