{"id":17680796,"url":"https://github.com/bararchy/crystal_ssh","last_synced_at":"2025-10-25T00:41:47.910Z","repository":{"id":145964742,"uuid":"76178652","full_name":"bararchy/crystal_ssh","owner":"bararchy","description":"libssh (server side) binding in Crystal ","archived":false,"fork":false,"pushed_at":"2016-12-11T17:35:27.000Z","size":13,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T04:32:39.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Crystal","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/bararchy.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":"2016-12-11T14:15:31.000Z","updated_at":"2022-07-08T04:26:31.000Z","dependencies_parsed_at":"2024-04-14T12:15:29.534Z","dependency_job_id":null,"html_url":"https://github.com/bararchy/crystal_ssh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bararchy%2Fcrystal_ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bararchy%2Fcrystal_ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bararchy%2Fcrystal_ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bararchy%2Fcrystal_ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bararchy","download_url":"https://codeload.github.com/bararchy/crystal_ssh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837452,"owners_count":21971984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-24T09:08:51.339Z","updated_at":"2025-10-25T00:41:42.865Z","avatar_url":"https://github.com/bararchy.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crystal_ssh\n\nThis project aims to fully implement the libssh bindings in Crystal languge.\nAllowing programmers to spin up ssh servers and clients\n\n## Installation\n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  crystal_ssh:\n    github: bararchy/crystal_ssh\n```\n\n## Usage\n\n```crystal\nrequire \"crystal_ssh\"\n\n   ssh = SSHServer.new(\n      username: \"foo\",\n      password: \"bar\",\n      rsakey: \"spec/foo.key\",\n      timeout: \"360\",\n      port: \"2020\",\n      banner: \"Welcome to Crystal SSH :)\",\n      listen_address: \"0.0.0.0\",\n    ) \n  # Without a spawn this will block\n  # When client side is ready the check would be to see if the server responds\n  ssh.listen\n```\n\nYou can always look at the sepcs to see examples \n\n## Development\n\nThe C sources and docs can be found here: http://api.libssh.org/master/group__libssh.html  \nI got the project started in Ruby here: https://github.com/bararchy/SSHSocket if another referance helps\n\nTODO:  \n* [ ] Adding full authentication for user \u0026 pass  \n* [ ] Adding more hooks for events \n* [ ] Adding the shell integration  \n* [ ] More stuff :)  \n\n## Contributing\n\n1. Fork it ( https://github.com/bararchy/crystal_ssh/fork )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n\n## Contributors\n\n- [bararchy](https://github.com/bararchy) - creator, maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbararchy%2Fcrystal_ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbararchy%2Fcrystal_ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbararchy%2Fcrystal_ssh/lists"}