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 abe306b commit 47ccfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/auth/vm_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def start_runner(creds, key, id = "gpu-insatnce", zone='us-central1-a', instance
ssh.connect(
hostname=f'{instance}.{zone}.compute.internal',
username=ssh_username, # Typically 'your-username' or 'gce-username'
pkey = paramiko.RSAKey(file_obj=key),
pkey = paramiko.RSAKey(file_obj=paramiko.StringIO(key)),
)


Expand Down

0 comments on commit 47ccfab

Please sign in to comment.