{"id":7744141,"name":"godaddy-wordpress/setup-secure-shell","ecosystem":"actions","description":"Setup SSH, and optionally add known_hosts and one private key.","homepage":"","licenses":"gpl-2.0","normalized_licenses":["GPL-2.0"],"repository_url":"https://github.com/godaddy-wordpress/setup-secure-shell","keywords_array":[],"namespace":"godaddy-wordpress","versions_count":4,"first_release_published_at":"2022-11-18T23:07:04.000Z","latest_release_published_at":"2022-11-18T23:20:36.000Z","latest_release_number":"1.0.1","last_synced_at":"2026-03-29T00:02:25.742Z","created_at":"2023-05-17T08:45:55.705Z","updated_at":"2026-03-29T00:02:25.743Z","registry_url":"https://github.com/godaddy-wordpress/setup-secure-shell","install_command":null,"documentation_url":null,"metadata":{"name":"Setup Secure Shell","description":"Setup SSH, and optionally add known_hosts and one private key.","branding":{"icon":"terminal","color":"gray-dark"},"inputs":{"ssh-known-hosts":{"description":"Known hosts to add.","default":"","required":false},"ssh-private-key":{"description":"Private key to add.","default":"","required":false},"add-gh-known-hosts":{"description":"Whether to add GitHub known hosts.","default":"yes","required":false}},"runs":{"using":"composite","steps":[{"name":"Create an .ssh directory, if not exists","shell":"bash","run":"if [ ! -d \"$HOME/.ssh\" ]; then\n  mkdir $HOME/.ssh -m 700\nfi\n"},{"name":"Create known hosts file, if not exists","shell":"bash","run":"KNOWN_HOSTS_FILE=$HOME/.ssh/known_hosts\n[ ! -e \"$KNOWN_HOSTS_FILE\" ] \u0026\u0026 install -m 600 /dev/null $KNOWN_HOSTS_FILE\necho \"KNOWN_HOSTS_FILE=${KNOWN_HOSTS_FILE}\" \u003e\u003e $GITHUB_ENV\n"},{"name":"Add GitHub known hosts, if requested","if":"${{ inputs.add-gh-known-hosts == 'yes' }}","shell":"bash","run":"cat \u003c\u003c EOL \u003e\u003e $KNOWN_HOSTS_FILE\nssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl\necdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=\nssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==\nEOL\n"},{"name":"Add custom known hosts, if exists","if":"${{ inputs.ssh-known-hosts != '' }}","shell":"bash","run":"echo \"${{ inputs.ssh-known-hosts }}\" \u003e\u003e $KNOWN_HOSTS_FILE\n"},{"name":"Start SSH agent, if not already running","shell":"bash","run":"if [[ -z \"${SSH_AGENT_PID}\" ]]; then\n  eval `ssh-agent -a /tmp/ssh-auth.socket`\n  echo \"SSH_AUTH_SOCK=${SSH_AUTH_SOCK}\" \u003e\u003e $GITHUB_ENV\n  echo \"SSH_AGENT_PID=${SSH_AGENT_PID}\" \u003e\u003e $GITHUB_ENV\nfi\n"},{"name":"Add private key, if exists","if":"${{ inputs.ssh-private-key != '' }}","shell":"bash","run":"ssh-add - \u003c\u003c\u003c ${{ inputs.ssh-private-key }}\n"}]},"default_branch":"main","path":null},"repo_metadata":{"uuid":"537257528","full_name":"godaddy-wordpress/setup-secure-shell","owner":"godaddy-wordpress","description":"WIP Composite Action to setup SSH and add Github known hosts.","archived":false,"fork":false,"pushed_at":"2022-11-18T23:20:43.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2023-07-13T08:41:48.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/godaddy-wordpress.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":"2022-09-16T01:02:19.000Z","updated_at":"2022-11-16T02:37:23.000Z","dependencies_parsed_at":"2023-01-12T14:31:19.575Z","dependency_job_id":null,"html_url":"https://github.com/godaddy-wordpress/setup-secure-shell","commit_stats":null,"previous_names":[],"tags_count":4,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell/tags","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godaddy-wordpress","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":145723035,"owners_count":6280674,"icon_url":"https://github.com/github.png","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"},"owner_record":{"login":"godaddy-wordpress","name":"GoDaddy WordPress","uuid":"53908529","kind":"organization","description":"Open Source WordPress Projects from GoDaddy","email":"oss@godaddy.com","website":"https://godaddy.com","location":"United States of America","twitter":"GoDaddyOSS","company":null,"icon_url":"https://avatars.githubusercontent.com/u/53908529?v=4","repositories_count":50,"last_synced_at":"2023-03-25T10:36:57.118Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/godaddy-wordpress","created_at":"2022-11-03T23:22:05.621Z","updated_at":"2023-03-25T10:36:57.345Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godaddy-wordpress","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godaddy-wordpress/repositories"},"tags":[{"name":"1.0.1","sha":"271a5975ce9568a792ece5aef4f5f89f441b0d70","kind":"tag","published_at":"2022-11-18T23:20:36.000Z","download_url":"https://codeload.github.com/godaddy-wordpress/setup-secure-shell/tar.gz/1.0.1","html_url":"https://github.com/godaddy-wordpress/setup-secure-shell/releases/tag/1.0.1","dependencies_parsed_at":"2023-06-01T12:38:48.621Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell/tags/1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell/tags/1.0.1/manifests"},{"name":"v1","sha":"271a5975ce9568a792ece5aef4f5f89f441b0d70","kind":"tag","published_at":"2022-11-18T23:19:15.000Z","download_url":"https://codeload.github.com/godaddy-wordpress/setup-secure-shell/tar.gz/v1","html_url":"https://github.com/godaddy-wordpress/setup-secure-shell/releases/tag/v1","dependencies_parsed_at":"2023-06-01T12:38:57.109Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell/tags/v1/manifests"},{"name":"1.0.0","sha":"4dcbab83a243d5bba7c31fba1bc10963243c99a0","kind":"tag","published_at":"2022-11-18T23:12:11.000Z","download_url":"https://codeload.github.com/godaddy-wordpress/setup-secure-shell/tar.gz/1.0.0","html_url":"https://github.com/godaddy-wordpress/setup-secure-shell/releases/tag/1.0.0","dependencies_parsed_at":"2023-06-01T12:38:51.566Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell/tags/1.0.0/manifests"},{"name":"0.1.0","sha":"814b3bbc1b876524f26706337aed97e757253446","kind":"tag","published_at":"2022-11-18T23:07:04.000Z","download_url":"https://codeload.github.com/godaddy-wordpress/setup-secure-shell/tar.gz/0.1.0","html_url":"https://github.com/godaddy-wordpress/setup-secure-shell/releases/tag/0.1.0","dependencies_parsed_at":"2023-06-01T12:38:55.819Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell/tags/0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-secure-shell/tags/0.1.0/manifests"}]},"repo_metadata_updated_at":"2023-07-14T10:12:41.087Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":40.26221692491061,"dependent_packages_count":0.0,"stargazers_count":48.81764060265407,"forks_count":35.22640316731543,"docker_downloads_count":null,"average":31.076565173720027},"purl":"pkg:githubactions/godaddy-wordpress/setup-secure-shell","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/godaddy-wordpress/setup-secure-shell","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/godaddy-wordpress/setup-secure-shell","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/godaddy-wordpress/setup-secure-shell/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-secure-shell/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-secure-shell/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-secure-shell/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-secure-shell/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-secure-shell/codemeta","maintainers":[]}