All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
450 views

Permission denied (publickey) error when managing GCP machine via Ansible (running on GCP VM) despite successful SSH connection

I deployed two machines to GCP via Terraform. Let's call them control-host and target-host. I want to manage the target-host via Ansible installed on the control-host. Unfortunately, I keep getting ...
mångata's user avatar
  • 109
0 votes
1 answer
229 views

Increased my VM disk size on Google Cloud Platform and now the SSH log in is asking for a password?

I increased the disk size on my VM instance running on Google Cloud Platform. There was a simple change from 200 GB to 400 GB with no other changes made on the Instance. When I started the instance ...
Chestnut Rice's user avatar
0 votes
0 answers
126 views

Not able to SSH into VM using any of the authorized IDs even from console

I am not able to SSH into my VM on google cloud. The only thing that has changed is that I have now upgraded my account to a paid account from free account. My billing subscription was expired before ...
Inwit Solutions's user avatar
0 votes
2 answers
362 views

Accidently removed user profile with SSH key

I accidentally removed my user profile with SSH key on google cloud VM, so now I don't even have the possibility to connect to that machine. It's not a big deal since that VM is for testing purposes, ...
Near Future's user avatar
2 votes
3 answers
3k views

Lost ssh access to Google Cloud VM

I have a VM (Debian) running on Google Cloud Platform, but I can't connect via ssh or serial console (can't create an user via startup-script for some reason). Already tried a bunch of troubleshooting ...
krz7's user avatar
  • 21
0 votes
2 answers
1k views

SSH Can't connect to Google Cloud Compute-Engine-Instance: Permission denied (publickey)

I followed this tutorial on how to setup a GCE-VM with ssh. However i can't seem to successfully connect via ssh as the guy from the video did! This is the output when i try connecting (IP is ...
Tim Hilt's user avatar
  • 135
0 votes
1 answer
460 views

WordPress is down after Google Cloud Platform VM instance IP changed, Unable to SSH

My WordPress website is down after I restarted VM instance of Google Cloud Platform. It had Ephemeral IP, I find out my External IP has been changed! Old IP address: 35.200.58.194 New IP address for ...
Ajendrasinh Vaghela's user avatar
2 votes
1 answer
335 views

In cloud VM instances, how to handle ssh host keys?

In throwaway VMs like the ones usually used by companies today in GCP or AWS, every time an instance boots for the first time it will have a new set of ssh host keys created. That means that if an ...
Hilikus's user avatar
  • 125
3 votes
1 answer
576 views

Can't connect to server via SSH using gpg-agent

I'm trying to connect to a VM on Google Cloud. I've created a public key to use for SSH and added the key to the cloud instance. I have SSH_AUTH_SOCK set to the file used by gpg-agent. ~/.gnupg/gpg-...
5nefarious's user avatar
1 vote
2 answers
1k views

GCP - "Transferring SSH keys to the VM" - constant loop

I had an instance created from the Deep Learning VM image which stopped allowing me to SSH into it through the Cloud console and went on a constant loop of trying to transfer SSH keys to the VM. ...
user1058210's user avatar
2 votes
3 answers
360 views

Looping transfer SSH keys while opening SSH access of my VM

Yesterday, I was able to connect to my VM without any problem. Today, when I wanted to connect, it just loops over "Transferring SSH keys to VM". When I go in the console, it loops the same thing. [ ...
Gugu72's user avatar
  • 121
1 vote
1 answer
3k views

Can't SSH into Google Cloud Compute instance using OS Login after `dnf upgrade`

I have a Google Cloud Platform Compute instance running CentOS 7. It has been working just fine, where I can use it with the web-based SSH interface without any problem. Recently, I switched to "OS ...
DarthFloopy's user avatar
0 votes
1 answer
57 views

Google cloud platform ssh keys

i'd like to manage my own ssh keys and i want to distribute my ssh keys on all my instances is there a way that i can add it to the project metadata or i have to add the keys to every instance ...
Mouad ZAAZAA's user avatar
1 vote
1 answer
1k views

Why does a new Google Compute Engine Instance has pre-created user accounts?

Upon creating a new Ubuntu instance on GCP (from the official 18 LTS image), I noticed that it already has a few users in the /home folder. These are user names that I've created in the past on ...
Jack C's user avatar
  • 11
1 vote
2 answers
2k views

GCP metadata Transferring to SSH Keys - Permission Denied

I'm not sure if this is a problem related to the Debian version because I don't have this problem in an old debianv8. I'm trying to add a new ssh key to my instance (I have one user it is working) in ...
Michel Zúñiga's user avatar
3 votes
3 answers
513 views

Differing ssh host key in Container-Optimized OS instance

I created a Container-Optimized OS instance in the Google Cloud. When I try to connect to it via ssh from outside the ssh host key fingerprint shown differs from the output of ssh-keygen -lf /etc/ssh/...
Jodka Lemon's user avatar
4 votes
3 answers
14k views

Putty "Server Refused our key" Google Cloud Platform compute engine instances

We have two compute engine instances(both Linux VM's) on one Project. One I had access through Putty and it was connecting fine. But the other instance I had the "Server Refused our Key" error when ...
Joseph Flores's user avatar
5 votes
5 answers
35k views

Google Cloud Services - unable to SSH into instance at all

I am unable to SSH into my instance on the Google Cloud Services. I am not very well versed in VM management and troubleshooting, but have tried everything I knew, and google could provide to me ...
CaptClockobob's user avatar
0 votes
1 answer
2k views

Cannot ssh to ubuntu gcp instance

I migrated the vm from libvirt to Google Cloud Platform using Cloudendure. The initial sync is complete and is in Data Replication stage from over a week. Once the VM is launched using test mode and ...
user avatar
0 votes
1 answer
2k views

Lost connection with ssh server through web console ssh (GCP, Putty, gcloud terminal, Filezilla)

After a year using the VM instance in debian, we changed the ssh keys to connect to other computers, after having generated the pair of public and private keys with putty, and adding it to the ...
Ingeniera y Desarrollo ID's user avatar
0 votes
1 answer
1k views

SSH from Mac to CentOS hangs forever when using a certain domain

I've been running a CentOS server on Google Compute for about a year. I SSH in every day without a problem. Suddenly, when I try to ssh in, the command just waits and waits and waits... After ...
Kenny Wyland's user avatar
0 votes
2 answers
2k views

FileZilla will not connect to Google Cloud VM after changing the SSH Keys

I have been using FileZilla to manage files on my GCP VM using SFTP. I created a key pair using KeyGen on Ubuntu Linux, copied the pub key into the SSH Keys on my VM instance and loaded the private ...
Steve Eubanks's user avatar
0 votes
1 answer
76 views

GCP Login policy for instances

Inside gcp instance, there is missing pam.d module. Also it has it's own wrapper over ssh, so you have to use glcoud tool's ssh to get into the instance. While it is easy to setup login lockout policy ...
alexfvolk's user avatar
  • 164
7 votes
1 answer
11k views

Cannot edit VM or access it via SSH. error:Supplied fingerprint does not match current metadata fingerprint

I have a Linux machine on Google Cloud, created with Bitnami. It was working well, and it could be accessed through SSH, usign the web console or putty. However suddenly today it can not be accessed ...
Adolfo Martinez's user avatar
4 votes
3 answers
19k views

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 (...
fillipvt's user avatar
  • 181
0 votes
1 answer
1k views

Server refused our key for all users

On the Google Cloud I made a mistake on my instance: chmod 777 -r . on my home folder. Now I cannot login into my account: I have tried to recreate the ssh key but it did not help. Any suggestions ...
Alin Tomoiaga's user avatar
0 votes
0 answers
30 views

How to download SSH keys in Debian on GCP? [duplicate]

I'm trying to download my SSH keys so that I can use Filezilla to connect to my webserver. This SHOULD be pretty straightforward - but everything I've tried has failed. I currently have access to the ...
alexforyou's user avatar
2 votes
1 answer
17k views

Download public & private keys from Google Cloud Instance

New to the cloud so pardon this question as I'm certain it's relatively simple! I've setup my Google Cloud Instance and I'm now trying to connect to it using FileZilla. I have a good understanding of ...
alexforyou's user avatar
1 vote
1 answer
178 views

ssh keys google cloud [closed]

I'm trying to use google cloud to make my own SFTP server, the problem is I don't know how to properly use the ssh keys, everytime I try to connect with a ssh key the VM rejects it, any help? I'm ...
user avatar
3 votes
2 answers
2k views

GCE project-wide SSH keys not propogating

I have noticed in my GCE cluster that when I add an SSH key to the project metadata that it is then automatically added to /home/[user]/.ssh/authorized_keys. This is the behaviour I expect (and desire ...
sheepeatingtaz's user avatar
1 vote
1 answer
71 views

Google Cloud Platform: ssh from VM_1 in project_A to VM_2 in project_B

I am trying to connect virtual machine VM_1 in project_A to virtual machine VM_2 in project_B. Bot are on Debian Linux. Steps I did: On VM_1 Project_A Generated private and public keys ssh-keygen -...
abhi's user avatar
  • 21
11 votes
4 answers
10k views

How does google compute engine create users and how to disable them?

I've got a CoreOS cluster running on GCE and one issue that I've noticed with all GCE instances is that as long as you're auth'd with the project on Google Cloud platform, you can login in as pretty ...
Christian Grabowski's user avatar
-1 votes
2 answers
3k views

SSH key rejected by google compute engine instance

I generated my ssh key through the google sdk shell, then i went to put my key in FileZilla and connect to my google compute engine instance and it wont accept my key. How do i fix this?
Kasai Jefferson's user avatar
5 votes
2 answers
9k views

How to change SSH key on Google Cloud?

I need to replace the existing SSH key with a new one, but I don't see such options in Cloud admin panel. What is the right way to do this?
Alexey Kosov's user avatar
38 votes
7 answers
96k views

Unable to ssh to GCE: "Permission denied (publickey)"

I created a VM via Bitnami in Google Compute Engine. Previously, I was able to ssh via the Bitnami web interface. I tried to ssh via terminal on my Mac but kept getting the Permission denied (...
NEO's user avatar
  • 781