Skip to content

Commit

Permalink
gcp auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarsh2001 committed Oct 4, 2023
1 parent f464a81 commit 35109a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/auth/vm_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def start_runner(creds, key, id = "gpu-insatnce", zone='us-central1-a', instance
compute.instances().start(project=id, zone=zone, instance=instance).execute()

# Get the SSH username (assuming it's stored in the credentials)

ssh_username = credentials.service_account_email
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
Expand Down

0 comments on commit 35109a6

Please sign in to comment.