{"id":30420284,"url":"https://github.com/abdoufermat5/bayesian-ssh","last_synced_at":"2026-06-20T04:31:18.967Z","repository":{"id":310211532,"uuid":"1039086584","full_name":"abdoufermat5/bayesian-ssh","owner":"abdoufermat5","description":"A fast multi environment ssh connexion manager","archived":false,"fork":false,"pushed_at":"2026-04-18T16:55:48.000Z","size":391,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-18T17:11:18.072Z","etag":null,"topics":["bastion","kerberos","linux","rust","server","ssh"],"latest_commit_sha":null,"homepage":"https://abdoufermat5.github.io/bayesian-ssh/","language":"Rust","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/abdoufermat5.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-16T13:01:04.000Z","updated_at":"2026-04-18T16:55:30.000Z","dependencies_parsed_at":"2025-08-16T15:37:04.378Z","dependency_job_id":null,"html_url":"https://github.com/abdoufermat5/bayesian-ssh","commit_stats":null,"previous_names":["abdoufermat5/bayesian-ssh"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/abdoufermat5/bayesian-ssh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdoufermat5%2Fbayesian-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdoufermat5%2Fbayesian-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdoufermat5%2Fbayesian-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdoufermat5%2Fbayesian-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdoufermat5","download_url":"https://codeload.github.com/abdoufermat5/bayesian-ssh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdoufermat5%2Fbayesian-ssh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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":["bastion","kerberos","linux","rust","server","ssh"],"created_at":"2025-08-22T08:17:51.195Z","updated_at":"2026-06-20T04:31:18.952Z","avatar_url":"https://github.com/abdoufermat5.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/banner.svg\" alt=\"Bayesian SSH Banner\" width=\"100%\"\u003e\n\u003c/p\u003e\n\n# Bayesian SSH - Fast and Easy SSH Session Manager\n\n[![Rust](https://img.shields.io/badge/Rust-1.70+-blue.svg)](https://rustup.rs/)\n[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n[![CI](https://github.com/abdoufermat5/bayesian-ssh/workflows/CI/badge.svg)](https://github.com/abdoufermat5/bayesian-ssh/actions/workflows/ci.yml)\n\n\u003e **An ultra-fast and intelligent SSH session manager with Bayesian-ranked search, fuzzy matching, Kerberos support, bastion hosts, and advanced history management.**\n\n## What is Bayesian SSH?\n\n**Bayesian SSH** transforms your SSH experience with intelligent automation:\n\n- **Bayesian-ranked search** - connections ranked by frequency, recency, and match quality\n- **Intelligent fuzzy search** across all commands - find connections by partial names, tags, or patterns\n- **One-click connections** to your servers\n- **Automatic Kerberos** ticket management\n- **Smart bastion host** routing\n- **Tag-based organization** for easy management\n- **Complete connection history** with statistics\n- **SQLite database** for persistence\n\n## Quick Start\n\n### Installation\n\n#### Option 1: One-liner Install (Recommended)\n```bash\n# Install latest release automatically (non-interactive)\ncurl -fsSL https://raw.githubusercontent.com/abdoufermat5/bayesian-ssh/main/install.sh | bash\n```\n\n```\n# Interactive installation (choose options)\ncurl -fsSL https://raw.githubusercontent.com/abdoufermat5/bayesian-ssh/main/install.sh | bash -s -- --interactive\n```\n\n#### Option 2: Manual Build\n```bash\n# Clone and build\ngit clone https://github.com/abdoufermat5/bayesian-ssh.git\ncd bayesian-ssh\n\n# Build and install using Makefile\nmake release\nmake install\n\n# Or use the script\n./scripts/build_and_push.sh --release\nsudo cp target/release/bayesian-ssh /usr/local/bin/\n```\n\n### First Connection\n```bash\n# Add a server\nbayesian-ssh add \"My Server\" server.company.com\n\n# Connect instantly\nbayesian-ssh connect \"My Server\"\n```\n\n## 📖 Basic Usage\n\n### Core Commands\n```bash\n# Connect to a server (with fuzzy search)\nbayesian-ssh connect \"Server Name\"        # Exact match\nbayesian-ssh connect \"webprod\"            # Finds \"web-prod-server\"\nbayesian-ssh connect \"prod\"               # Shows all production servers\n\n# Manage connections (all with fuzzy search)\nbayesian-ssh edit \"webprod\"               # Edit connection settings\nbayesian-ssh show \"dbprod\"                # Show connection details\nbayesian-ssh remove \"apigateway\"          # Remove connection\n\n# Add new connection\nbayesian-ssh add \"Server Name\" hostname.com\n\n# List connections\nbayesian-ssh list\n\n# Import from SSH config\nbayesian-ssh import\n\n# Interactive TUI mode\nbayesian-ssh tui                          # Full-screen connection browser\n```\n\n### Session Management\n```bash\n# View session history with stats\nbayesian-ssh history                      # Recent sessions\nbayesian-ssh history -c \"prod\"            # Filter by connection\nbayesian-ssh history --days 7 --failed    # Last week's failures\n\n# Manage active sessions\nbayesian-ssh close                        # List active sessions\nbayesian-ssh close \"Server\"               # Close specific session\nbayesian-ssh close --cleanup              # Clean stale sessions\nbayesian-ssh close --all                  # Close all sessions\n```\n\n### Connection Aliases\n```bash\n# Create shortcuts for connections\nbayesian-ssh alias add db prod-database   # 'db' → 'prod-database'\nbayesian-ssh alias add p1 Portail01       # Quick alias\nbayesian-ssh connect db                   # Uses alias\n\nbayesian-ssh alias list                   # Show all aliases\nbayesian-ssh alias remove db              # Remove alias\n```\n\n### Bastion Management\n```bash\n# Use default bastion\nbayesian-ssh add \"Server\" host.com\n\n# Force direct connection\nbayesian-ssh add \"Server\" host.com --no-bastion\n\n# Custom bastion\nbayesian-ssh add \"Server\" host.com --bastion custom-bastion.com\n```\n\n\n### Configuration\n\nThe app automatically creates configuration in `~/.config/bayesian-ssh/`:\n\n```bash\n# View current config\nbayesian-ssh config\n\n# Set defaults (Kerberos is disabled by default, current user is used)\nbayesian-ssh config --use-kerberos --default-user customuser\n```\n\n## Documentation\n\nFull documentation is built with [mdBook](https://rust-lang.github.io/mdBook/). To build and view locally:\n\n```bash\nmake docs          # Build to docs/book/\nmake docs-serve    # Serve locally with live reload\n```\n\nDocumentation covers:\n\n- **[Getting Started](docs/src/getting-started/installation.md)** - Installation, quick start, configuration\n- **[User Guide](docs/src/user-guide/connection-management.md)** - Connections, sessions, aliases, TUI, bastion hosts\n- **[Advanced Usage](docs/src/advanced-usage/enterprise.md)** - Enterprise, cloud, CI/CD, security \u0026 compliance\n- **[Reference](docs/src/reference/architecture.md)** - Architecture, troubleshooting, changelog\n\n## Changelog\nSee [CHANGELOG.md](CHANGELOG.md) for detailed release notes.\n\n##  Contributing\n\n1. **Fork** the project\n2. **Create** a feature branch (`git checkout -b feature/AmazingFeature`)\n3. **Commit** your changes (`git commit -m 'Add AmazingFeature'`)\n4. **Push** to the branch (`git push origin feature/AmazingFeature`)\n5. **Open** a Pull Request\n\n##  License\n\nThis project is licensed under **MIT**. See the [LICENSE](LICENSE) file for details.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdoufermat5%2Fbayesian-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdoufermat5%2Fbayesian-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdoufermat5%2Fbayesian-ssh/lists"}