{"id":37955464,"url":"https://github.com/alexejk/portal","last_synced_at":"2026-01-16T18:00:20.891Z","repository":{"id":38375540,"uuid":"230298199","full_name":"alexejk/portal","owner":"alexejk","description":"Quickly connect to and manage SSH favorite connections from CLI","archived":false,"fork":false,"pushed_at":"2023-05-03T04:59:25.000Z","size":91,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T11:49:26.778Z","etag":null,"topics":["aws","cli","go","ssh"],"latest_commit_sha":null,"homepage":"","language":"Go","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/alexejk.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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-26T16:55:58.000Z","updated_at":"2022-11-07T17:48:53.000Z","dependencies_parsed_at":"2024-06-20T21:52:44.836Z","dependency_job_id":"b4ef3ae0-7e54-46ed-a61a-2855410ee99e","html_url":"https://github.com/alexejk/portal","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/alexejk/portal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexejk%2Fportal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexejk%2Fportal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexejk%2Fportal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexejk%2Fportal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexejk","download_url":"https://codeload.github.com/alexejk/portal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexejk%2Fportal/sbom","scorecard":{"id":181262,"data":{"date":"2025-08-11","repo":{"name":"github.com/alexejk/portal","commit":"2875ec72e5022659fc8361d309bed6a9a7bc29a0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/1 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":"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":"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":"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/build.yml:1","Warn: no topLevel permission defined: .github/workflows/release.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":"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":"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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/alexejk/portal/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/alexejk/portal/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/alexejk/portal/release.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating golang:1.19-alpine to golang:1.19-alpine@sha256:0ec0646e208ea58e5d29e558e39f2e59fccf39b7bda306cb53bbaff91919eca5","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.2 not signed: https://api.github.com/repos/alexejk/portal/releases/22772359","Warn: release artifact v0.0.1 not signed: https://api.github.com/repos/alexejk/portal/releases/22524241","Warn: release artifact v0.0.2 does not have provenance: https://api.github.com/repos/alexejk/portal/releases/22772359","Warn: release artifact v0.0.1 does not have provenance: https://api.github.com/repos/alexejk/portal/releases/22524241"],"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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 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-16T18:54:49.068Z","repository_id":38375540,"created_at":"2025-08-16T18:54:49.068Z","updated_at":"2025-08-16T18:54:49.068Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","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":["aws","cli","go","ssh"],"created_at":"2026-01-16T18:00:14.784Z","updated_at":"2026-01-16T18:00:20.792Z","avatar_url":"https://github.com/alexejk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portal\n\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/alexejk/portal/Build)\n[![Go Report Card](https://goreportcard.com/badge/alexejk.io/portal)](https://goreportcard.com/report/alexejk.io/portal)\n\n![GitHub](https://img.shields.io/github/license/alexejk/portal)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/alexejk/portal)\n\nSimple tool to quickly connect to favorite servers, including creation of SSH tunnels.\n\n## Status\n\nThis project is very much in it's initial,  **experimental** phase. Use at your own risk.\n\n## Features\n\nPortal provides following set of features that one could find useful:\n\n* Bookmark-like feature for SSH connections - simply run `portal connect \u003cname\u003e`\n* Support for complex connections such as multi-hop SSH tunnels\n* Support for connections with AWS EC2 Instance Connect by temporarily pushing SSH key to the instance\n* Provides (potentially )useful hints upon established connection, e.g what ports are being forwarded \n\n## Usage\n\n### Configuration\n\nConfiguration file is looked for at `~/.portal/config.yaml`. \n\n```yaml\n---\ndebug: false\n\ndefault-public-key: ~/.ssh/id_rsa.pub\ndefault-private-key: ~/.ssh/id_rsa\n\n# List of all known destinations\nportals:\n\n  # Tunnel\n  - name: server1.tunnel\n    hint: Port 3000\n    raw:\n      command: ssh -L 3000:localhost:8080 me@server1.dot.ip\n\n  # Direct connection\n  - name: server.prod.bastion\n    raw:\n      command: ssh -A user@bastion.dot.ip\n  \n  # Double tunnel\n  - name: server.prod.tunnel\n    hint: Local 33333 -\u003e 12345 @ backend.dot.ip via bastion.dot.ip\n    raw:\n      command: ssh -L 33333:localhost:33333 -A user@bastion.dot.ip ssh -L 33333:localhost:12345 -A user@backend.dot.ip\n  \n  # AWS EC2 Instance Connect\n  - name: aws.host\n    aws:\n      instance-id: i-1234abcd\n      region: us-west-1\n      user: ec2-user\n```\n\n### Supported Commands\n\n* Get all available connections:  \n  `portal list`\n* Connect to a server:  \n  `portal connect \u003cname\u003e` where `\u003cname\u003e` is the favorite name\n\n## TODOs\n\nSee separate [TODO document](TODO.md) for what is planned.  \n\n## Building\n\nSimply run `make all` or `make build-in-docker` if you have Docker installed \n\n## License\n\nMIT license, as described in the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexejk%2Fportal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexejk%2Fportal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexejk%2Fportal/lists"}