{"id":18326491,"url":"https://github.com/luisenmarroquin/setup-ssh-action","last_synced_at":"2025-04-06T00:31:32.588Z","repository":{"id":65158150,"uuid":"287220372","full_name":"LuisEnMarroquin/setup-ssh-action","owner":"LuisEnMarroquin","description":"GitHub Action that sets up your SSH key on the Virtual Environment","archived":false,"fork":false,"pushed_at":"2024-11-12T15:41:10.000Z","size":319,"stargazers_count":9,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-21T14:22:59.018Z","etag":null,"topics":["actions","cd","ci","ci-cd","github","github-actions","javascript","js","macos","marketplace","node","node-js","secrets","ssh","ssh-key","ts","typescript","ubuntu","windows","workflow"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/setup-ssh-action","language":"TypeScript","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/LuisEnMarroquin.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}},"created_at":"2020-08-13T08:12:23.000Z","updated_at":"2024-11-19T15:16:13.000Z","dependencies_parsed_at":"2023-01-05T04:49:25.784Z","dependency_job_id":null,"html_url":"https://github.com/LuisEnMarroquin/setup-ssh-action","commit_stats":{"total_commits":44,"total_committers":1,"mean_commits":44.0,"dds":0.0,"last_synced_commit":"bd02a39ad59b79d1d0370b21cca4f142beaa00d1"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisEnMarroquin%2Fsetup-ssh-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisEnMarroquin%2Fsetup-ssh-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisEnMarroquin%2Fsetup-ssh-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisEnMarroquin%2Fsetup-ssh-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuisEnMarroquin","download_url":"https://codeload.github.com/LuisEnMarroquin/setup-ssh-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419597,"owners_count":20936009,"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":["actions","cd","ci","ci-cd","github","github-actions","javascript","js","macos","marketplace","node","node-js","secrets","ssh","ssh-key","ts","typescript","ubuntu","windows","workflow"],"created_at":"2024-11-05T19:07:04.074Z","updated_at":"2025-04-06T00:31:27.580Z","avatar_url":"https://github.com/LuisEnMarroquin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup SSH - GitHub Action\n\n[![Fail](https://github.com/LuisEnMarroquin/setup-ssh-action/actions/workflows/windows.yml/badge.svg)](https://github.com/LuisEnMarroquin)\n[![Fail](https://github.com/LuisEnMarroquin/setup-ssh-action/actions/workflows/macos.yml/badge.svg)](https://github.com/LuisEnMarroquin)\n[![Fail](https://github.com/LuisEnMarroquin/setup-ssh-action/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/LuisEnMarroquin)\n\nThis action sets up your SSH key on `Windows`, `macOS` and `Ubuntu` Virtual Environments\n\n## Example usage\n\nSetup for GitHub\n\n```yml\nname: Deployment\n\non:\n  push:\n    branches:\n    - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: LuisEnMarroquin/setup-ssh-action@v2.0.0\n      with:\n        SSHKEY: ${{ secrets.SSH }} # ----- BEGIN RSA PRIVATE KEY----- ...\n    - run: ssh -T git@github.com || true\n```\n\nSetup for your server\n\n```yml\nname: Deployment\n\non:\n  push:\n    branches:\n    - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: LuisEnMarroquin/setup-ssh-action@v2.0.0\n      with:\n        ORIGIN: ${{ secrets.HOST }} # example.com || 8.8.8.8\n        SSHKEY: ${{ secrets.SSH }} # ----- BEGIN RSA PRIVATE KEY----- ...\n        NAME: production\n        PORT: ${{ secrets.PORT }} # 3000\n        USER: ${{ secrets.USER }} # admin\n    - run: ssh production ls --help\n```\n\n## Inputs\n\n| Key      | Value Information                                                                | Required |\n|----------|----------------------------------------------------------------------------------|----------|\n| `ORIGIN` | Where to log in, can be a **Domain** or **IP address**, defaults to `github.com` | **No**   |\n| `SSHKEY` | Your SSH access key, it's better to store it on your repository secrets          | **Yes**  |\n| `NAME`   | How you can refer to the SSH key in the next commands, defaults to `ORIGIN`      | **No**   |\n| `PORT`   | The port that will be on the SSH config                                          | **No**   |\n| `USER`   | The user that will be on the SSH config                                          | **No**   |\n\nYour repo secrets are at: `https://github.com/\u003cusername\u003e/\u003crepository\u003e/settings/secrets`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisenmarroquin%2Fsetup-ssh-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluisenmarroquin%2Fsetup-ssh-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisenmarroquin%2Fsetup-ssh-action/lists"}