{"id":17736553,"url":"https://github.com/toshimaru/mitamae-plugin-recipe-ssh_users","last_synced_at":"2025-03-31T19:17:00.348Z","repository":{"id":66162158,"uuid":"74599122","full_name":"toshimaru/mitamae-plugin-recipe-ssh_users","owner":"toshimaru","description":"SSH user setup for mitamae.","archived":false,"fork":false,"pushed_at":"2016-12-11T19:39:25.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T18:22:24.733Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/toshimaru.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-11-23T17:25:45.000Z","updated_at":"2024-04-14T18:22:24.734Z","dependencies_parsed_at":"2023-02-21T08:31:24.568Z","dependency_job_id":null,"html_url":"https://github.com/toshimaru/mitamae-plugin-recipe-ssh_users","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/toshimaru%2Fmitamae-plugin-recipe-ssh_users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fmitamae-plugin-recipe-ssh_users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fmitamae-plugin-recipe-ssh_users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fmitamae-plugin-recipe-ssh_users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toshimaru","download_url":"https://codeload.github.com/toshimaru/mitamae-plugin-recipe-ssh_users/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523847,"owners_count":20791444,"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-26T00:23:26.510Z","updated_at":"2025-03-31T19:17:00.309Z","avatar_url":"https://github.com/toshimaru.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mitamae-plugin-recipe-ssh_users\n\nMitamae plugin which configures users and ssh_keys.\n\n## Installation\n\n```bash\n$ mkdir plugins\n$ git clone --depth 1 https://github.com/toshimaru/mitamae-plugin-recipe-ssh_users plugins/mitamae-plugin-recipe-ssh_users\n```\n\n## Usage\n\n### Recipe\n\n`recipe.rb`:\n\n```rb\ninclude_recipe 'ssh_users'\n```\n\n### Node Sample\n\n`node.yml`:\n\n```yaml\nssh_users:\n  - username: \"toshimaru\"\n    uid: 2000\n    authorized_keys: |\n      ssh-ed25519 YOUR_PUBLIC_AUTHORIZED_KEYS\n  - username: \"foo\"\n    password: \"1234\"\n    gid: 1001\n    uid: 2001\n    authorized_keys: \"PUBLIC_AUTHORIZED_KEY\"\n  - username: \"bar\"\n```\n\n### Apply mitamae recipe\n\n```\n$ mitamae local recipe.rb -y node.yml\n```\n\n## Tips\n\n### How to generate password for user\n\n```\n$ gem install unix-crypt\n$ mkunixcrypt -s \"salt\"\nEnter password:\nVerify password:\n$6$salt$...\n```\n\n## TODO\n\n- apply shell configuration\n- more README\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshimaru%2Fmitamae-plugin-recipe-ssh_users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoshimaru%2Fmitamae-plugin-recipe-ssh_users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshimaru%2Fmitamae-plugin-recipe-ssh_users/lists"}