{ "info": { "author": "tuxedoar", "author_email": "tuxedoar@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3 :: Only" ], "description": "# SSH Commander\nThis command line tool, allows you to execute various commands on several remote hosts,\nusing the SSH protocol. As a result, you get a per-host generated output of each\ncommand you specified.\n\nYou simply specify a plain text file with a list of remote hosts to connect to (domain names\nor IP addresses), and a comma-separated list of commands to execute on those. Note that\naccess credentials (user and password) must be the same for all the target hosts!.\n\n## Requirements\nMake sure your system meets the following requirements:\n* [Python 3](https://www.python.org/downloads/) (>= 3.4)\n* [paramiko](https://github.com/paramiko/paramiko) (tested with v2.6.0)\n\n## Installation\nThe recommended method for installing this tool, is using `pip`:\n```\npip install ssh-commander\n```\n\n## Usage\nWhen using `ssh-commander`, respect the following syntax:\n```\nExecute remote commands on several hosts, with SSH.\nusage: ssh-commander [-h] [-p PORT] [-v] FILE USER COMMANDS\n\nExcecute remote commands on several hosts, with SSH.\n\npositional arguments:\n FILE Plain text file with list of hosts\n USER User to login on remote hosts\n COMMANDS Comma separated commands to be executed on remote\n hosts\n\noptional arguments:\n -h, --help show this help message and exit\n -p PORT, --port PORT Specify SSH port to connect to hosts\n -v, --version Show current version\n```\nFirst, remember to create a text file (name it whatever you like), where you\nlist the target hosts. Its content, may look like this:\n```\n# This is a comment. It'll be ignored!.\n192.168.0.10\n192.168.0.11\n192.168.0.12\n```\nAlso, note that the password for the user provided, is gonna be asked only\nonce. Therefore, those credentials, should be valid on all target hosts!.\n\n### Examples\nLet's say you have some managed switches (or routers): \n```\nssh-commander hosts.txt root \"terminal length 0, sh port-security\"\n```\nThey could rather be some GNU/Linux servers, as well:\n```\nssh-commander hosts.txt foones \"hostname, whoami\"\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tuxedoar/ssh-commander", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ssh-commander", "package_url": "https://pypi.org/project/ssh-commander/", "platform": "", "project_url": "https://pypi.org/project/ssh-commander/", "project_urls": { "Homepage": "https://github.com/tuxedoar/ssh-commander" }, "release_url": "https://pypi.org/project/ssh-commander/0.1/", "requires_dist": [ "paramiko" ], "requires_python": ">=3.4", "summary": "Excecute remote commands on several hosts, with SSH", "version": "0.1" }, "last_serial": 5467200, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "703da0831ad8d4bf081a5d66bcfc37dc", "sha256": "a73dcfd8da2c505419ff41391354b927d686af6060e0052588f2df8e3860c4c6" }, "downloads": -1, "filename": "ssh_commander-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "703da0831ad8d4bf081a5d66bcfc37dc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 17388, "upload_time": "2019-06-30T06:26:33", "url": "https://files.pythonhosted.org/packages/ed/c0/4be558e69e19f2d8596f053e0fb0b8b1d501cafec0c63829cc52a7af61f8/ssh_commander-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "163cff4b94930aaeec6ad5b804e45d84", "sha256": "5deb66bd830a5e180318ede62bf4210c61cfbaed5ade7a47923ed7dd1bba3846" }, "downloads": -1, "filename": "ssh-commander-0.1.tar.gz", "has_sig": false, "md5_digest": "163cff4b94930aaeec6ad5b804e45d84", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4106, "upload_time": "2019-06-30T06:26:36", "url": "https://files.pythonhosted.org/packages/99/87/70b668c0994afbec7b657671e72fcff20786c38f7c1216c60db218c17291/ssh-commander-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "703da0831ad8d4bf081a5d66bcfc37dc", "sha256": "a73dcfd8da2c505419ff41391354b927d686af6060e0052588f2df8e3860c4c6" }, "downloads": -1, "filename": "ssh_commander-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "703da0831ad8d4bf081a5d66bcfc37dc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 17388, "upload_time": "2019-06-30T06:26:33", "url": "https://files.pythonhosted.org/packages/ed/c0/4be558e69e19f2d8596f053e0fb0b8b1d501cafec0c63829cc52a7af61f8/ssh_commander-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "163cff4b94930aaeec6ad5b804e45d84", "sha256": "5deb66bd830a5e180318ede62bf4210c61cfbaed5ade7a47923ed7dd1bba3846" }, "downloads": -1, "filename": "ssh-commander-0.1.tar.gz", "has_sig": false, "md5_digest": "163cff4b94930aaeec6ad5b804e45d84", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4106, "upload_time": "2019-06-30T06:26:36", "url": "https://files.pythonhosted.org/packages/99/87/70b668c0994afbec7b657671e72fcff20786c38f7c1216c60db218c17291/ssh-commander-0.1.tar.gz" } ] }