{"id":24445872,"url":"https://github.com/altenderfer/altenderfer-ssh-tool","last_synced_at":"2026-04-27T15:33:58.373Z","repository":{"id":262745577,"uuid":"888222282","full_name":"altenderfer/altenderfer-ssh-tool","owner":"altenderfer","description":"This application allows you to customize and test SSH connection parameters and algorithms, providing detailed logging of the SSH negotiation process.","archived":false,"fork":false,"pushed_at":"2024-11-14T15:10:34.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T04:42:08.983Z","etag":null,"topics":["cli","curses","debugging","emulator","networking","paramiko","python","ssh","terminal"],"latest_commit_sha":null,"homepage":"https://altenderfer.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/altenderfer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-14T02:47:00.000Z","updated_at":"2024-11-14T15:10:37.000Z","dependencies_parsed_at":"2024-11-14T03:31:43.382Z","dependency_job_id":"8c6c0740-1c44-4621-b2e0-4d29ebf14adf","html_url":"https://github.com/altenderfer/altenderfer-ssh-tool","commit_stats":null,"previous_names":["altenderfer/altenderfer-ssh-tool"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/altenderfer/altenderfer-ssh-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altenderfer%2Faltenderfer-ssh-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altenderfer%2Faltenderfer-ssh-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altenderfer%2Faltenderfer-ssh-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altenderfer%2Faltenderfer-ssh-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/altenderfer","download_url":"https://codeload.github.com/altenderfer/altenderfer-ssh-tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altenderfer%2Faltenderfer-ssh-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32343527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","curses","debugging","emulator","networking","paramiko","python","ssh","terminal"],"created_at":"2025-01-20T23:30:48.149Z","updated_at":"2026-04-27T15:33:58.349Z","avatar_url":"https://github.com/altenderfer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSH Client Emulator\n\nAn interactive SSH client emulator built with Python, leveraging the `paramiko` library and `curses` for a terminal-based user interface. This application allows you to customize SSH connection parameters and algorithms, providing detailed logging of the SSH negotiation process.\n\n![SSH Client Emulator Screenshot](https://altenderfer.io/github/altenderfer-ssh-tool.png)\n\n## Features\n\n- **Interactive UI**: Navigate through connection settings and algorithm selections using keyboard controls.\n- **Algorithm Customization**: Select specific Host Key Algorithms, KEX Algorithms, Ciphers, and MACs for your SSH connection.\n- **Real-Time Logging**: View detailed SSH negotiation logs in real-time within the application.\n- **Log Management**:\n  - **Scroll Logs**: Scroll through logs using Page Up/Page Down keys.\n  - **Save Logs**: Save session logs to a file (`session_log_dump.txt`) for later analysis.\n  - **Clear Logs**: Clear the current log display within the application.\n- **Color-Coded Interface**: Enhanced readability with color-coded logs and interface elements.\n- **Threaded Connection Handling**: SSH connections are handled in a separate thread to keep the UI responsive.\n\n### To-Do\n- When drilling down selected Algorithms, KEX, Ciphers, Macs -\u003e Only traceback error appears (Update to have more detailed information)\n\n\n\n## Installation\n\n### Prerequisites\n\n- **Python**: Version 3.x\n- **Packages**:\n  - `paramiko`\n- **Operating System**: Linux or macOS (due to the use of `curses`)\n\n### Steps\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/altenderfer/altenderfer-ssh-tool.git\n   cd altenderfer-ssh-tool\n   ```\n\n2. **Install Required Packages**\n\n   ```bash\n   pip install paramiko\n   ```\n\n## Usage\n\nRun the application using:\n\n```bash\npython altenderfer-ssh-tool.py\n```\n\n### Navigation and Controls\n\n- **Up/Down Arrow Keys**: Navigate between input fields and algorithm selections.\n- **Enter**: Edit an input field or select an algorithm category.\n- **In Edit Mode**:\n  - **Type**: Input your data.\n  - **Arrow Keys**: Navigate within the text input (if supported by your terminal).\n- **In Algorithm Selection Mode**:\n  - **Up/Down Arrow Keys**: Navigate algorithm options.\n  - **Spacebar**: Select/Deselect an algorithm.\n  - **Enter**: Confirm selections and exit.\n- **Actions**:\n  - **C**: Connect to the SSH server.\n  - **L**: Clear the log window.\n  - **S**: Save the current session log to `session_log_dump.txt`.\n  - **Q**: Quit the application.\n- **Log Scrolling**:\n  - **Page Up/Page Down**: Scroll the log window.\n\n### Example Steps\n\n1. **Set Connection Parameters**: Use the arrow keys to navigate to each field and press **Enter** to edit the IP address, port, username, and password.\n\n2. **Customize Algorithms**: Navigate to the algorithm categories and press **Enter** to select/deselect specific algorithms.\n\n3. **Connect**: Press **C** to initiate the SSH connection with your specified settings.\n\n4. **View Logs**: Observe the real-time logs of the SSH negotiation process in the right panel.\n\n5. **Scroll Logs**: Use **Page Up** and **Page Down** to scroll through the logs if they exceed the window size.\n\n6. **Save Logs**: Press **S** to save the session logs to a file.\n\n## Requirements\n\n- **Python**: Version 3.x\n- **Libraries**:\n  - `paramiko`: For SSH protocol handling.\n  - `curses`: For creating the text-based user interface (standard with most Python installations on Unix-based systems).\n- **Terminal**: A terminal that supports ANSI escape codes and `curses` library functionality.\n\n## License\n\n[MIT License](LICENSE)\n\n## Author\n\n**Kyle Altenderfer**\n\n- **Website**: [https://altenderfer.io/](https://altenderfer.io/)\n- **GitHub**: [https://github.com/altendferfer](https://github.com/altenderfer)\n\n## Tags\n\n- SSH Client\n- Python\n- Paramiko\n- Curses\n- Terminal Application\n- Network Tools\n- SSH Algorithms\n- SSH Debugging\n- Interactive CLI\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.\n\n## Acknowledgments\n\n- **Paramiko**: [https://www.paramiko.org/](https://www.paramiko.org/)\n- **Curses**: Python's built-in library for creating text-based user interfaces.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltenderfer%2Faltenderfer-ssh-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltenderfer%2Faltenderfer-ssh-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltenderfer%2Faltenderfer-ssh-tool/lists"}