All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
241 views

Unable connect to SSH GCE

I created a VM on Google Compute Engine. I had no problems connecting to SSH before but when I tried to upload files to FTP it crashed me out of the session, then I could not login to FTP at all and I ...
Menadzer Odzidzi's user avatar
0 votes
2 answers
360 views

how can we edit ssh keys of VM In GCP Please guide

My ssh Keys in Vm Instance are showing "expireOn":"2020-11-20T00:06:44+000" since then i am unable to connect to my VM and also not able to connect via SSH Please guide on how to ...
Shrih Dezigns'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
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
0 votes
1 answer
1k views

Google Compute Engine Removed Authorized Keys

I have instance in Google Cloud platform. I can not connect to my instance because I accidentally removed the .ssh/authorized/keys file in my instance. In addition to that, I connected using ...
Cenk's user avatar
  • 1
0 votes
2 answers
1k views

Permission denied, please try again ( Ubuntu )

Actually I already have tried everything as dicussed in SSH Permission denied (publickey) and Unable to ssh to GCE: “Permission denied (publickey), But none resolved the issue. I am able to ssh into ...
Muhammad Rafique's user avatar
0 votes
2 answers
3k views

Locked out of Linux VM after using `gcloud compute os-login ssh-keys add`

Just like this guy, I started getting an error message when trying to add ssh keys: Supplied fingerprint does not match current metadata fingerprint I get this error when I try to add the keys to the ...
oligofren's user avatar
  • 641
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
0 answers
62 views

Apaache Web Server On google compute Engine

I am getting this error when I try to connect to SSH Connection Failed An error occurred while communicating with the SSH server. Check the server and the network configuration. When I checked ...
Evarist Musekura'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
6 votes
4 answers
3k views

How do you securely retrieve the ssh host keys from a google compute engine instance?

I want to update my ~/.ssh/known_hosts with the host key information for a newly created GCE instance. But I'm not sure how to securely retrieve that information. I thought something like gcloud ...
jhfrontz's user avatar
  • 293
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
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
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
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
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 vote
2 answers
3k views

How do I generate SSH keys on a Google compute engine windows instance

There are a multiplicity of articles on the web about setting up SSH on Google compute engine for Linux instances but a lack of ones describing how to successfully generate them for a windows instance....
Norco's user avatar
  • 11
-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