{ "info": { "author": "Marek Andrzejczak", "author_email": "marek_andrzejczak@riseup.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Version Control", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "ssh-server-audit\n================\n\nTiny application for centralized monitoring of remote servers.\nIn comparison to traditional health checks `ssh-server-audit` is executing commands using _SSH_.\n\nFunctionality:\n- SOCKS proxy support: Possibility to hide service in the internet using TOR\n- Health checks: Execute remote command, check exit code. Execute other command on failure to repair simple things\n- Authenticity check: Check if remote filesystem is untouched by third-party (eg. by hosting provider, by other hosting users, by the government)\n\n### Quick start\n\n1. Create a configuration file, example:\n\n```\ntest_vagrant_volume: # name it as you want\n socks_host: \"\" # (optional) leave empty if not using socks\n socks_port: 9150 # (optional) but needs to be valid\n host: \"localhost\"\n port: 2422\n user: root\n password: \"root\"\n auth_method: password\n public_key: \"\"\n passphrase: \"\"\n checksum_method: \"sha256sum\" # command name on remote server that will be doing checksums (eg. md5sum, sha256 sum)\n\n # files to verify on remote server, leave just \"[]\" without \"\" to not use checksums validation\n checksum_files:\n sh: '/bin/sh'\n bash: '/bin/bash'\n losetup: '$(whereis losetup|awk \"{print \\$2}\")'\n\n # when at least one checksum would not match, then you can run a \"repair command\"\n # for example unmount an encrypted volume with logs, user identities, databases\n on_security_violation: \"echo 'Something on security violation'\"\n\n # health checks, use \"[]\" without \"\" to not use health checks.\n healthchecks:\n - command: \"ps aux |grep nginx\"\n on_failure: \"echo 'Something on failure'\"\n - command: \"ps aux |grep bash\"\n on_failure: \"echo 'This should not show'\"\n\n```\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Wolnosciowiec/ssh-server-audit", "keywords": "", "license": "LGPLv3", "maintainer": "", "maintainer_email": "", "name": "ssh-server-audit", "package_url": "https://pypi.org/project/ssh-server-audit/", "platform": "", "project_url": "https://pypi.org/project/ssh-server-audit/", "project_urls": { "Homepage": "https://github.com/Wolnosciowiec/ssh-server-audit" }, "release_url": "https://pypi.org/project/ssh-server-audit/1.0.2/", "requires_dist": [ "tornado (>=4.5)", "paramiko (>=2.4)", "PyYAML (>=3.12)", "PySocks (>=1.6)", "pbr (>=5.1)", "setuptools (>=40.4.3)", "requests", "requests[socks]", "unittest-data-provider", "coverage", "mock" ], "requires_python": ">=3.5", "summary": "Performs validation of remote filesystem integrity and executes health checks. Supports self-repair commands", "version": "1.0.2" }, "last_serial": 5225141, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "a97fdb4d5881730f86bf8817c3a24595", "sha256": "380d2a4e8fd05dee7ecbae667112aef19bb4f8299f00134f25287bb1b2d9abc4" }, "downloads": -1, "filename": "ssh_server_audit-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a97fdb4d5881730f86bf8817c3a24595", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 19086, "upload_time": "2019-04-19T17:32:48", "url": "https://files.pythonhosted.org/packages/06/59/ca09c8dbe6f61c1640f1e74bd3f772aef9656cb2e5f9ced9726fcec51ac1/ssh_server_audit-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8270c0cc6f97e2ff1ae5acefe6fb1b34", "sha256": "b864c0ed8d52931e67a0c254cdd1dfcdf9005e2fcfe6c000098ec03f1b510968" }, "downloads": -1, "filename": "ssh-server-audit-1.0.1.tar.gz", "has_sig": false, "md5_digest": "8270c0cc6f97e2ff1ae5acefe6fb1b34", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 19302, "upload_time": "2019-04-19T17:32:50", "url": "https://files.pythonhosted.org/packages/2e/9d/1c616058b8fd2acbda0b7d113d32bf4ccc9da741e1394ffbd56d6062ee97/ssh-server-audit-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ed4344a4ab0347cb1c61b5723c689bc0", "sha256": "ecd061acf8b417d634e32d9e715b4d3a62980f6ea17f8fb2a7eb9040e8ec9d6e" }, "downloads": -1, "filename": "ssh_server_audit-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ed4344a4ab0347cb1c61b5723c689bc0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 19703, "upload_time": "2019-05-04T09:24:32", "url": "https://files.pythonhosted.org/packages/e8/3d/821a169d6f83f3764e5349fd1c217975d3f4ef69e9dfd8d0e12c00259523/ssh_server_audit-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b753d2ff6e5e00223c0118afc7462243", "sha256": "e121a639568b33fa89d39730fb3be0eb274280a146fd8b0f648ac7c4b8692644" }, "downloads": -1, "filename": "ssh-server-audit-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b753d2ff6e5e00223c0118afc7462243", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 40893, "upload_time": "2019-05-04T09:24:34", "url": "https://files.pythonhosted.org/packages/dd/54/b2ca8709fd9f78cff7342981c0bf6e0e61a3c0e1f52ec816fbe0727a28e8/ssh-server-audit-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ed4344a4ab0347cb1c61b5723c689bc0", "sha256": "ecd061acf8b417d634e32d9e715b4d3a62980f6ea17f8fb2a7eb9040e8ec9d6e" }, "downloads": -1, "filename": "ssh_server_audit-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ed4344a4ab0347cb1c61b5723c689bc0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 19703, "upload_time": "2019-05-04T09:24:32", "url": "https://files.pythonhosted.org/packages/e8/3d/821a169d6f83f3764e5349fd1c217975d3f4ef69e9dfd8d0e12c00259523/ssh_server_audit-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b753d2ff6e5e00223c0118afc7462243", "sha256": "e121a639568b33fa89d39730fb3be0eb274280a146fd8b0f648ac7c4b8692644" }, "downloads": -1, "filename": "ssh-server-audit-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b753d2ff6e5e00223c0118afc7462243", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 40893, "upload_time": "2019-05-04T09:24:34", "url": "https://files.pythonhosted.org/packages/dd/54/b2ca8709fd9f78cff7342981c0bf6e0e61a3c0e1f52ec816fbe0727a28e8/ssh-server-audit-1.0.2.tar.gz" } ] }