{"repo":"google-github-actions/ssh-compute","free":true,"listed":false,"github":"https://github.com/google-github-actions/ssh-compute","clone":"git clone https://github.com/google-github-actions/ssh-compute.git","description":"A GitHub Action to SSH into a Google Compute Engine instance.","language":"TypeScript","stars":66,"topics":["google-cloud-compute","actions","gcp","google-cloud","gce","compute-engine","google-cloud-platform","github-actions","google-compute-engine"],"license":"Apache-2.0","category":"networking-infra","readme_excerpt":"ssh-compute Compute SSH Github Action aims to provide an easy way to connect to GCP instances via ssh and execute user’s commands. You should enable IAP TCP forwarding to establish an encrypted tunnel over which you can forward SSH connections to the VM. Note, this action does not work when connecting to Windows VMs. Please, check this guide to know more how to connect to a Windows instance. This is not an officially supported Google product, and it is not covered by a Google Cloud support contract. To report bugs or request features in a Google Cloud product, please contact Google Cloud support. Prerequisites This action requires: - Enable the Cloud Identity-Aware Proxy API - Create a firewall rule to enable connections from IAP. - Grant the required IAM permissions to enable IAP TCP forwarding. - Generate SSH keys pair and set a private key as an input param. See Create SSH keys tutorial to generate keys using ssh-keygen tool or use gcloud compute ssh command. - Set Google Cloud credentials that are authorized ssh connection to the VM. See the Authorization section below for more information. Usage Inputs Name Requirement Default Description ------------- ----------- ------- ----------- instance name required Name of the virtual machine instance to SSH into. zone required Zone of the instance to connect to. user optional Specifies the username with which to SSH. If omitted, the user login name is used. If using OS Login, USER will be replaced by the OS Login user. ssh priva","default_branch":null,"files":null,"tree":[],"storefront":"/r/google-github-actions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/google-github-actions/ssh-compute/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}