{"id":50493870,"url":"https://github.com/asmuelle/ssh-commander-core","last_synced_at":"2026-06-02T05:03:48.216Z","repository":{"id":356086227,"uuid":"1230688577","full_name":"asmuelle/ssh-commander-core","owner":"asmuelle","description":"Async Rust domain layer for SSH, SFTP, FTP/FTPS, PostgreSQL, and connection management.","archived":false,"fork":false,"pushed_at":"2026-05-06T14:06:18.000Z","size":197,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T16:09:45.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asmuelle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2026-05-06T08:21:01.000Z","updated_at":"2026-05-06T14:11:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/asmuelle/ssh-commander-core","commit_stats":null,"previous_names":["asmuelle/ssh-commander-core"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/asmuelle/ssh-commander-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuelle%2Fssh-commander-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuelle%2Fssh-commander-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuelle%2Fssh-commander-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuelle%2Fssh-commander-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asmuelle","download_url":"https://codeload.github.com/asmuelle/ssh-commander-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuelle%2Fssh-commander-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33807006,"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-02T02:00:07.132Z","response_time":109,"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":[],"created_at":"2026-06-02T05:03:47.514Z","updated_at":"2026-06-02T05:03:48.211Z","avatar_url":"https://github.com/asmuelle.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ssh-commander\n\n[![CI](https://github.com/asmuelle/ssh-commander-core/actions/workflows/ci.yml/badge.svg)](https://github.com/asmuelle/ssh-commander-core/actions/workflows/ci.yml)\n[![License: MIT OR Apache-2.0](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)](#license)\n\nAsync Rust domain layer for SSH, SFTP, FTP/FTPS, PostgreSQL, and connection management. \n\n## Crates\n\n| Crate | Release|Docs| Purpose |\n|-------|-------|------|-------|\n| [`ssh-commander-core`](crates/core)| [![crates.io](https://img.shields.io/crates/v/ssh-commander-core.svg)](https://crates.io/crates/ssh-commander-core)| [![docs.rs](https://docs.rs/ssh-commander-core/badge.svg)](https://docs.rs/ssh-commander-core) | SSH, SFTP, FTP/FTPS, Postgres explorer, connection manager, event bus, macOS keychain. |\n| [`ssh-commander-pg-parquet`](crates/pg-parquet)| [![crates.io](https://img.shields.io/crates/v/ssh-commander-pg-parquet.svg)](https://crates.io/crates/ssh-commander-pg-parquet)| [![docs.rs](https://docs.rs/ssh-commander-pg-parquet/badge.svg)](https://docs.rs/ssh-commander-pg-parquet) | Parquet export pipeline for the Postgres explorer (pulls in arrow + parquet — opt-in). |\n\nPull in only what you need: the core crate has zero arrow/parquet weight unless you also depend on `ssh-commander-pg-parquet`.\n\n## Features\n\n- **SSH** (via [`russh`](https://crates.io/crates/russh)) — password and public-key auth, PTY shell sessions, known-hosts (TOFU), `exec` with capture, port forwarding, agent auth.\n- **SFTP** — full file ops, recursive transfer, attribute introspection.\n- **FTP / FTPS** (via [`suppaftp`](https://crates.io/crates/suppaftp)).\n- **PostgreSQL explorer** — schema introspection, paginated cursor reads, edits, exec, parquet export, optional SSH tunneling.\n- **Connection manager** — `Arc\u003cRwLock\u003cHashMap\u003e\u003e`-backed lifecycle for sessions across protocols.\n- **Typed event bus** — single broadcast channel for async PTY output, transfer progress, and status updates.\n- **macOS Keychain** integration (gated on `cfg(target_os = \"macos\")`).\n\n## Install\n\n```toml\n[dependencies]\nssh-commander-core = \"0.1\"\n# Optional: Parquet export for the Postgres explorer\nssh-commander-pg-parquet = \"0.1\"\n```\n\nRequires Rust **1.95+** (edition 2024).\n\n## Usage\n\n```rust\nuse ssh_commander_core::ssh::{SshConfig, AuthMethod};\nuse ssh_commander_core::connection_manager::ConnectionManager;\n\n#[tokio::main]\nasync fn main() -\u003e anyhow::Result\u003c()\u003e {\n    let mgr = ConnectionManager::new();\n\n    let config = SshConfig {\n        host: \"example.com\".into(),\n        port: 22,\n        user: \"alice\".into(),\n        auth: AuthMethod::Password { password: \"secret\".into() },\n        ..Default::default()\n    };\n\n    let connection_id = mgr.create_connection(config).await?;\n    // … use the connection for shell sessions, command execution, file transfer\n    Ok(())\n}\n```\n\nSee [`docs.rs/ssh-commander-core`](https://docs.rs/ssh-commander-core) for the full API.\n\n## QA\n\nFast checks, live Postgres tests, and protocol smoke-test commands are documented\nin [`docs/qa.md`](docs/qa.md).\n\n## Status\n\n`0.1.x` — pre-1.0, expect API changes. Originally extracted from a multi-crate workspace; the published surface is opinionated and follows the consumer's needs. Issues and PRs that improve generality are welcome.\n\n## License\n\nDual-licensed under either of:\n\n- [Apache License, Version 2.0](LICENSE-APACHE) (`Apache-2.0`)\n- [MIT license](LICENSE-MIT) (`MIT`)\n\nat your option.\n\nThis crate is derived from work originally licensed MIT by GOODBOY008 (the upstream `r-shell` project); their copyright notice is preserved in `LICENSE-MIT`.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmuelle%2Fssh-commander-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasmuelle%2Fssh-commander-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmuelle%2Fssh-commander-core/lists"}