{"id":13592396,"url":"https://github.com/devbranch-vadym/portainerssh","last_synced_at":"2026-01-14T23:11:33.231Z","repository":{"id":38262730,"uuid":"388228240","full_name":"devbranch-vadym/portainerssh","owner":"devbranch-vadym","description":"Native SSH-like shell client for Portainer containers, provided a powerful native terminal to manage your Docker containers","archived":false,"fork":false,"pushed_at":"2024-12-12T23:47:15.000Z","size":4592,"stargazers_count":23,"open_issues_count":3,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T23:32:21.906Z","etag":null,"topics":["portainer","portainer-api","shell","ssh-client"],"latest_commit_sha":null,"homepage":"","language":"Go","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/devbranch-vadym.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":"AUTHORS.md","dei":null}},"created_at":"2021-07-21T19:43:51.000Z","updated_at":"2025-02-27T03:03:15.000Z","dependencies_parsed_at":"2023-02-18T04:15:33.964Z","dependency_job_id":"d2a6c60e-cddd-4bbf-ad55-b252004419e5","html_url":"https://github.com/devbranch-vadym/portainerssh","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/devbranch-vadym/portainerssh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbranch-vadym%2Fportainerssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbranch-vadym%2Fportainerssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbranch-vadym%2Fportainerssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbranch-vadym%2Fportainerssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devbranch-vadym","download_url":"https://codeload.github.com/devbranch-vadym/portainerssh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbranch-vadym%2Fportainerssh/sbom","scorecard":{"id":336885,"data":{"date":"2025-08-11","repo":{"name":"github.com/devbranch-vadym/portainerssh","commit":"9d011ce9732b271849bbf445d56730a51b09fe71"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"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":"Code-Review","score":10,"reason":"all changesets reviewed","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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/go-build.yml:1","Warn: no topLevel permission defined: .github/workflows/gogitops.yml:1","Warn: no topLevel permission defined: .github/workflows/release-please.yml:1","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":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go-build.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/go-build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go-build.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/go-build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go-build.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/go-build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go-build.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/go-build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gogitops.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/gogitops.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gogitops.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/gogitops.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-please.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/devbranch-vadym/portainerssh/release-please.yml/master?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction 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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.7.0 not signed: https://api.github.com/repos/devbranch-vadym/portainerssh/releases/83106609","Warn: release artifact v1.6.1 not signed: https://api.github.com/repos/devbranch-vadym/portainerssh/releases/81323199","Warn: release artifact v1.6.0 not signed: https://api.github.com/repos/devbranch-vadym/portainerssh/releases/55873881","Warn: release artifact v1.5.0 not signed: https://api.github.com/repos/devbranch-vadym/portainerssh/releases/50414707","Warn: release artifact v1.4.0 not signed: https://api.github.com/repos/devbranch-vadym/portainerssh/releases/49748493","Warn: release artifact v1.7.0 does not have provenance: https://api.github.com/repos/devbranch-vadym/portainerssh/releases/83106609","Warn: release artifact v1.6.1 does not have provenance: https://api.github.com/repos/devbranch-vadym/portainerssh/releases/81323199","Warn: release artifact v1.6.0 does not have provenance: https://api.github.com/repos/devbranch-vadym/portainerssh/releases/55873881","Warn: release artifact v1.5.0 does not have provenance: https://api.github.com/repos/devbranch-vadym/portainerssh/releases/50414707","Warn: release artifact v1.4.0 does not have provenance: https://api.github.com/repos/devbranch-vadym/portainerssh/releases/49748493"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","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"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T04:56:14.412Z","repository_id":38262730,"created_at":"2025-08-18T04:56:14.412Z","updated_at":"2025-08-18T04:56:14.412Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28437936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["portainer","portainer-api","shell","ssh-client"],"created_at":"2024-08-01T16:01:08.828Z","updated_at":"2026-01-14T23:11:33.060Z","avatar_url":"https://github.com/devbranch-vadym.png","language":"Go","funding_links":[],"categories":["Raspberry Pi"],"sub_categories":[],"readme":"# Portainer SSH\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/devbranch-vadym/portainerssh)](https://goreportcard.com/report/github.com/devbranch-vadym/portainerssh)\n[![Go Reference](https://pkg.go.dev/badge/github.com/devbranch-vadym/portainerssh.svg)](https://pkg.go.dev/github.com/devbranch-vadym/portainerssh)\n[![Release](https://img.shields.io/github/v/release/devbranch-vadym/portainerssh.svg?style=flat-square)](https://github.com/devbranch-vadym/portainerssh/releases/latest)\n\nNative shell client for Portainer containers, provided a powerful native terminal to manage your Docker containers.\n\n* It's dead simple. like the ssh cli, you do `portainerssh container_name` to SSH into any containers\n* It's flexible. `portainerssh` reads configurations from ENV, from yml or json file\n* It's powerful. `portainerssh` searches the whole Portainer deployment, open shell into any containers from your\n  workstation, regardless which host it belongs to\n* It's smart. `portainerssh` uses fuzzy container name matching. Forget the container name? it doesn't matter, use \"*\"\n  or \"%\" instead\n\n## Is it really an SSH client?\nNo. It's called so for historical purposes. It _acts_ like SSH in terms of providing you shell access to your\ncontainers. Also SSH is what people are likely googling for.\n\n\n## Installation\n\n### Via Golang\n\n```bash\ngo get github.com/devbranch-vadym/portainerssh\n````\n\n### Binary builds\n\nBinary builds may be found at [releases](https://github.com/devbranch-vadym/portainerssh/releases)\npage. We currently provide `amd64` and `arm64` builds for GNU/Linux and Mac and `amd64` for Windows.\n\n## Configuration\n\nThe configuration could be provided by either `config.json` or `config.yml` in `./`, `/etc/portainerssh/` or `~/.portainerssh/` folders.\n\nIf you want to use JSON format, create a `config.json` in the folders with content:\n\n```json\n{\n  \"api_url\": \"https://portainerssh.server/api\",\n  \"user\": \"your_access_key\",\n  \"password\": \"your_access_password\",\n  \"endpoint\": \"10\",\n  \"api_key\": \"your_api_key\"\n}\n```\n\nIf you want to use YAML format, create a `config.yml` with content:\n\n```yml\napi_url: https://your.portainer.server/api\nuser: your_access_key\npassword: your_access_password\nendpoint: 10 # Optional Portainer endpoint ID, defaults to 1.\napi_key: your_api_key # Optional Portainer API key, defaults to empty. Replaces username and password.\n```\n\nWe accept environment variables as well:\n\n```shell\nPORTAINER_API_URL=https://your.portainer.server/api\nPORTAINER_USER=your_access_key\nPORTAINER_PASSWORD=your_access_password\nPORTAINER_API_KEY=your_access_token\n```\n\n## Usage\n\n```bash\nportainerssh [\u003cflags\u003e] \u003ccontainer\u003e\n````\n\n`?` in container name matches any single character. \"%\" matches zero or more characters.\n\n### Examples\n\n```\nportainerssh my-container-name\nportainerssh my-container-%\nportainerssh %-container-%\nportainerssh my-container-????\nportainerssh -c /bin/sh my-container-name\n```\n\n### Flags\n\n```\n  -h, --help            Show context-sensitive help (also try --help-long and --help-man).\n      --version         Show application version.\n      --api_url=\"\"      Portainer server API URL, https://your.portainer.server/api .\n      --endpoint=1      Portainer endpoint ID. Default is 1.\n      --user=\"\"         Portainer API user/accesskey.\n      --password=\"\"     Portainer API password/secret.\n      --api_key=\"\"      Portainer API key.\n  -c, --command=\"bash\"  Command to execute inside container.\n  -u, --run_as_user=\"\"  User to execute container command as.\n  -w, --workdir=\"\"      Working directory to execute command in.\n```\n\n### Arguments\n\n```\n\u003ccontainer\u003e  Container name, wildcards allowed\n```\n\n### Limitations\nCurrently, only Docker endpoints are supported.\n\n## History\n`portainerssh` is based on wonderful `rancherssh` utility by Fang Li. In fact, `portainerssh` is a fork and partial\nrewrite of `rancherssh`, just for Portainer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbranch-vadym%2Fportainerssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevbranch-vadym%2Fportainerssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbranch-vadym%2Fportainerssh/lists"}