Quantcast
Channel: gcloud SSH connection asks for password instead of passphrase - Server Fault
Browsing index pages (4 articles)

gcloud SSH connection asks for password instead of passphrase

I've got two VMs set up on Google Cloud Platform. server1 uses an Ubuntu 16.04 image [g1-small (1 vCPU, 1.7 GB memory)]; and the newly created VM, called server2, uses a CoreOS Stable image [f1-micro...

View Article


Answer by fillipvt for gcloud SSH connection asks for password instead of...

Before doing the following please backup you ~/.ssh/config file. You may have a bad time if not.This was solved by deleting the configuration done by gcloud withgcloud compute config-ssh --removeAfter...

View Article


Answer by Matias for gcloud SSH connection asks for password instead of...

After going through this, I fixed it with:export PROB_INSTANCE='your-instance-name'gcloud compute ssh another-user@$PROB_INSTANCEbecause the permissions on the ~/.ssh/authorized_keys file was not set...

View Article

Answer by Rakib for gcloud SSH connection asks for password instead of...

Adding the Service Account User role (roles/iam.serviceAccountUser) to my UserAccount (or to my ServiceAccount if i am using a ServiceAccount to login) solved the whole issue for me.See Step 4 Point 2...

View Article
Browsing index pages (4 articles)


Latest Images