{"id":13499387,"url":"https://github.com/dokku/sshcommand","last_synced_at":"2025-12-17T06:45:42.255Z","repository":{"id":8909163,"uuid":"10633757","full_name":"dokku/sshcommand","owner":"dokku","description":"Turn SSH into a thin client specifically for your app","archived":false,"fork":false,"pushed_at":"2025-10-03T06:12:06.000Z","size":291,"stargazers_count":382,"open_issues_count":4,"forks_count":50,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-10-08T18:50:57.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/dokku.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"dokku","open_collective":"dokku","patreon":"dokku"}},"created_at":"2013-06-12T00:31:01.000Z","updated_at":"2025-09-08T20:06:23.000Z","dependencies_parsed_at":"2023-12-16T03:32:25.890Z","dependency_job_id":"9caa0cc8-987d-4e64-a13a-ab3d552dbc5a","html_url":"https://github.com/dokku/sshcommand","commit_stats":{"total_commits":211,"total_committers":27,"mean_commits":7.814814814814815,"dds":0.4597156398104265,"last_synced_commit":"388f152bad6bd16f0e93258ae5ff9592b67a4c09"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/dokku/sshcommand","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fsshcommand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fsshcommand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fsshcommand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fsshcommand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dokku","download_url":"https://codeload.github.com/dokku/sshcommand/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fsshcommand/sbom","scorecard":{"id":114449,"data":{"date":"2025-08-11","repo":{"name":"github.com/dokku/sshcommand","commit":"e0ab0470d191101633057c114adcc4b434d75fb6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/3 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/bump-version.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/tagged-release.yml:13","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bump-version.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/bump-version.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/bump-version.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/bump-version.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tagged-release.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/tagged-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tagged-release.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/tagged-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tagged-release.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/tagged-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tagged-release.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/dokku/sshcommand/tagged-release.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating golang:1.24.2-bookworm to golang:1.24.2-bookworm@sha256:79390b5e5af9ee6e7b1173ee3eac7fadf6751a545297672916b59bfa0ecf6f71","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   5 out of   8 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.20.0 not signed: https://api.github.com/repos/dokku/sshcommand/releases/205434912","Warn: release artifact v0.19.0 not signed: https://api.github.com/repos/dokku/sshcommand/releases/202468645","Warn: release artifact v0.18.1 not signed: https://api.github.com/repos/dokku/sshcommand/releases/176258137","Warn: release artifact v0.18.0 not signed: https://api.github.com/repos/dokku/sshcommand/releases/156365656","Warn: release artifact v0.17.1 not signed: https://api.github.com/repos/dokku/sshcommand/releases/116414081","Warn: release artifact v0.20.0 does not have provenance: https://api.github.com/repos/dokku/sshcommand/releases/205434912","Warn: release artifact v0.19.0 does not have provenance: https://api.github.com/repos/dokku/sshcommand/releases/202468645","Warn: release artifact v0.18.1 does not have provenance: https://api.github.com/repos/dokku/sshcommand/releases/176258137","Warn: release artifact v0.18.0 does not have provenance: https://api.github.com/repos/dokku/sshcommand/releases/156365656","Warn: release artifact v0.17.1 does not have provenance: https://api.github.com/repos/dokku/sshcommand/releases/116414081"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/dokku/.github/SECURITY.md:1","Info: Found linked content: github.com/dokku/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/dokku/.github/SECURITY.md:1","Info: Found text in security policy: github.com/dokku/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":10,"reason":"SAST tool detected","details":["Info: SAST configuration detected: Hadolint","Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T00:38:26.490Z","repository_id":8909163,"created_at":"2025-08-16T00:38:26.490Z","updated_at":"2025-08-16T00:38:26.490Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27778788,"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","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"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":"2024-07-31T22:00:32.668Z","updated_at":"2025-12-17T06:45:42.230Z","avatar_url":"https://github.com/dokku.png","language":"Shell","readme":"# sshcommand\n\nSimplifies running a single command over SSH, and manages authorized keys (ACL) and users in order to do so.\n\nIt basically simplifies running:\n\n```shell\nssh user@server 'ls -l \u003cyour-args\u003e'\n```\n\ninto:\n\n```shell\nssh ls@server \u003cyour-args\u003e\n```\n\n## Commands\n\n```shell\nsshcommand create                    \u003cUSER\u003e \u003cCOMMAND\u003e                # Creates a local system user and installs sshcommand skeleton\nsshcommand acl-add                   \u003cUSER\u003e \u003cNAME\u003e \u003cKEY_FILE\u003e        # Adds named SSH key to user from STDIN or argument\nsshcommand acl-remove                \u003cUSER\u003e \u003cNAME\u003e                   # Removes SSH key by name\nsshcommand acl-remove-by-fingerprint \u003cUSER\u003e \u003cFINGERPRINT\u003e            # Removes SSH key by fingerprint\nsshcommand list                      \u003cUSER\u003e [\u003cNAME\u003e] [\u003cOUTPUT_TYPE\u003e] # Lists SSH keys by user, an optional name and a optional output format (JSON)\nsshcommand help                      \u003cCOMMAND\u003e                       # Shows help information\nsshcommand version                                                   # Shows version\n```\n\n## Example\n\nOn a server, create a new command user:\n\n```shell\nsshcommand create cmd /path/to/command\n```\n\nOn your computer, add authorized keys with your key:\n\n```shell\ncat ~/.ssh/id_rsa.pub | ssh root@server sshcommand acl-add cmd progrium\n```\n\nIf the public key is already on the server, you may also specify it as an argument:\n\n```shell\nssh root@server sshcommand acl-add cmd progrium ~/.ssh/id_rsa.pub\n```\n\nBy default, key names and fingerprints must be unique. Both of these checks can be disabled by setting the following environment variables to `false`:\n\n```shell\nexport SSHCOMMAND_CHECK_DUPLICATE_FINGERPRINT=\"false\"\nexport SSHCOMMAND_CHECK_DUPLICATE_NAME=\"false\"\n```\n\nNow anywhere with the private key you can easily run:\n\n```shell\nssh cmd@server\n```\n\nAnything you pass as the command string will be appended to the command. You can use this\nto pass arguments or if your command takes subcommands, expose those subcommands easily.\n\n```shell\n/path/to/command subcommand\n```\n\nCan be run remotely with:\n\n```shell\nssh cmd@server subcommand\n```\n\nWhen adding an authorized key, you can also specify custom options for `AUTHORIZED_KEYS`\nby specifying the `SSHCOMMAND_ALLOWED_KEYS` environment variable. This should be a list\nof comma-separated options. The default keys are as follows:\n\n```shell\nno-agent-forwarding,no-user-rc,no-X11-forwarding,no-port-forwarding\n```\n\nThis can be useful for cases where the ssh server does not allow certain options or you\nwish to further constrain a user's environment. Please see `man sshd` for more information.\n\nExisting keys can be listed via the `list` subcommand:\n\n```shell\n# in text format\nsshcommand list cmd\n\n# filter by a particular name\nsshcommand list cmd progrium\n\n# in json format\nsshcommand list cmd \"\" json\n\n# with name filtering\nsshcommand list cmd progrium json\n\n# ignore validation errors (though they will be printed to stderr)\nexport SSHCOMMAND_IGNORE_LIST_WARNINGS=true\nsshcommand list cmd\n```\n","funding_links":["https://github.com/sponsors/dokku","https://opencollective.com/dokku","https://patreon.com/dokku"],"categories":["Shell","Apps","others"],"sub_categories":["Servers"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdokku%2Fsshcommand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdokku%2Fsshcommand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdokku%2Fsshcommand/lists"}