{"id":18544286,"url":"https://github.com/tiyee/action-ssh","last_synced_at":"2025-05-15T05:33:55.102Z","repository":{"id":206762027,"uuid":"717301041","full_name":"tiyee/action-ssh","owner":"tiyee","description":"GitHub Actions for executing remote ssh commands.","archived":false,"fork":false,"pushed_at":"2024-02-16T06:52:37.000Z","size":312,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T09:15:37.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tiyee.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-11T03:44:01.000Z","updated_at":"2024-09-13T15:56:38.000Z","dependencies_parsed_at":"2024-12-26T05:42:11.986Z","dependency_job_id":"5bc55443-4a63-4923-808c-c66b31482cbb","html_url":"https://github.com/tiyee/action-ssh","commit_stats":null,"previous_names":["tiyee/action-ssh"],"tags_count":1,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiyee%2Faction-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiyee%2Faction-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiyee%2Faction-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiyee%2Faction-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiyee","download_url":"https://codeload.github.com/tiyee/action-ssh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254281977,"owners_count":22045066,"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-11-06T20:15:53.902Z","updated_at":"2025-05-15T05:33:54.996Z","avatar_url":"https://github.com/tiyee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Action SSH\n\nSimple GitHub Action to run a command on a remote server using SSH. This is working with the latest [GitHub Actions](https://github.com/features/actions).\n\n## ✨ Example Usage\n\n**Example using OpenSSH encrypted private key**\n\n```yml\n      - name: Action SSH\n        id: action-ssh\n        uses: tiyee/action-ssh@release\n        with:\n          host: ${{ secrets.HOST }} \n          port: ${{ secrets.PORT }} \n          username: ${{ secrets.USERNAME }} \n          privateKey: ${{ secrets.PRIVATE_KEY }} \n          command: 'ls -alh'\n```\n\n🔐 Set your secrets here: `https://github.com/USERNAME/REPO/settings/secrets`.\n\nCheck out [the workflow example](.github/workflows/ssh-example-workflow.yml) for a minimalistic yaml workflow in GitHub Actions.\n\n\n## Options\n\n- **host** - _string_ - Hostname or IP address of the server. \n\n- **port** - _integer_ - Port number of the server. **Default:** `22`\n\n- **username** - _string_ - Username for authentication. \n\n\n\n- **privateKey** - _mixed_ - _Buffer_ or _string_ that contains a private key for either key-based or hostbased user authentication (OpenSSH format). \n\n- **command** - _string_ - Your shell command\n\n\n## Development\n\n---\n\nThis thing is built using Typescript and\n[ssh2](https://github.com/mscdex/ssh2) . 🚀","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiyee%2Faction-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiyee%2Faction-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiyee%2Faction-ssh/lists"}