akkornel / gcs_gcp

Infrastructure as Code to run Globus Connect Server in Google Cloud
0 stars 0 forks source link

How to SSH from the management node to the DTN #8

Open akkornel opened 3 years ago

akkornel commented 3 years ago

Found this while working on Terraform code for the GCS nodes.

Logged in to gcs-management-1 with IAP with OSLogin. Trying to SSH to gcs-dtn-2.

akkornel_stanford_edu@gcs-management-1:~$ gcloud compute ssh gcs-dtn-2 --internal-ip --zone us-west1-a
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255].

It's trying to log in to the DTN using the Compute Engine service account on the management node. That's a weird exit code for SSH, though…

akkornel commented 3 years ago

While this is figured out, I'll allow SSH in to the DTNs via IAP.