{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/11"}],"enrichment":{"capability":"sshconf reads and modifies SSH config files while preserving their formatting and structure, letting you programmatically manage SSH host entries and settings.","skillfed_tags":["ssh-config","system-administration"],"use_cases":["Automate SSH host configuration in deployment or infrastructure-as-code scripts.","Build configuration management tools that need to update SSH settings without breaking manual edits.","Generate SSH config entries dynamically from a database or API of hosts and credentials.","Programmatically manage SSH tunnels, port forwards, or jump-host configurations.","Parse and audit existing SSH configs to validate host settings or compliance policies."],"what_it_does":"sshconf is a lightweight library for reading and writing SSH configuration files programmatically. It parses the standard SSH config format and lets you query, add, modify, and remove host entries while preserving the file's original formatting and comments\u2014important because SSH config files are often hand-edited and need to remain readable.\n\nThe library provides methods to read an existing config, inspect host settings, update individual hosts or create new ones, rename entries, and write changes back to the file or to a new file. It automatically detects indentation from existing config lines and handles multi-value directives like RemoteForward. Since it has no runtime dependencies and requires only Python 3.5 or later, it integrates easily into automation scripts, configuration management tools, or any application that needs to manage SSH access programmatically.","worth_installing":"Yes. sshconf is a straightforward, actively maintained tool with no dependencies, permissive licensing, and a clear use case. Install it if you need to read or modify SSH config files from Python code; skip it if you only work with SSH configs manually or through shell scripts."},"id":"sshconf","links":{"html":"https://skillfed.io/packages/sshconf","md":"https://skillfed.io/packages/sshconf.md","pypi":"https://pypi.org/project/sshconf/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-06-29","license_spdx":null,"license_treatment":"permissive","name":"sshconf","python_support":"supports_current","summary":"Lightweight SSH config library."},"popularity":{"monthly_downloads":500008,"position":6323,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.7"}
