Ask Question Asked 3 years, 3 months ago. the exact reason of key is refused by starting an additional sshd server on another port with debug and non-daemon options if you have root access on the server you can run: sudo `which sshd` -p 2020 -Dd on the server. To check whether managing SSH keys in metadata is the best choice for your use case, review Choosing an access method. Go to the Create instances page in the Google Cloud Platform Console and in the advanced options link paste the contents of your public key. Occasional permission denied when getting logs using gcloud through Jenkins running as GKE. I must be doing something wrong or have the wrong configuration but I'm not sure what it is. After leaving that running run ssh to it: ssh -p 2020 -i /path/to/refusedkey Server output will tell you the reason of refusal Before you begin. I installed the Google Cloud SDK Thought Web UI I created a new instance. on my home folder. Meet your business challenges head on with cloud computing services from Google, including data management, hybrid & multi-cloud, and AI & ML. I have re-read both articles many times in order to figure out where I am (possibly) missing something. With serial connection, it asked for username and password, which I don't have. New Google Cloud users might be eligible for a free trial. El domingo, 4 de octubre de 2015, 14:16:45 (UTC-6), Kamran (Google Cloud Support) escribió: Hey Pablo, The command tries to use your Windows username 'pablo.leon' to SSH to the VM instance. Now I cannot login into my account: I have tried to recreate the ssh key but it did not help. If you don't already have one, sign up for a new account. In the console, use ssh-keygen command to display a fingerprint of any number of host keys algorithms. The problem was in google-cloud-sdk\bin\sdk\winkeygen.exe. Viewed 544 times 0. You can also connect to instances through the Google Cloud Console, where Compute Engine automatically manages the full lifecycle … This guide shows you how to control access to Linux instances by manually creating SSH keys and editing public SSH key metadata. It botched the public key modulus representation in the generated .ppk and .pub files. On the Google Cloud I made a mistake on my instance: chmod 777 -r . Click on the instance for which you want to add a startup script. With gcloud command and SSH directly, I got "Server refused our key" ... With gcloud command, it says server refused the key. I am not knowledgeable of SSH. It includes remediation that recognizes corrupt Windows key files and regenerates them on the fly. Copy the entire content of the 'Public key for pasting into OpenSSH authorized_keys file' window. Active 3 years, 3 months ago. 0. Save the private key. Sign in to your Google Account. Server refused our key for all users. To securely acquire a fingerprint of the host key, use web-based SSH client in Google Cloud Platform (use SSH link on the VM Instances page). Putty “Server Refused our key” Google Cloud Platform compute engine instances. I have set up my new server with Google Compute Engine. Host key fingerprint: On the first connect you will be prompted to verify a server host key. Make sure to copy every single character from the beginning to the very end! 2. Hot Network Questions Does ZF minus infinity imply collection? Every time I go to putty to ssh in, I get a "server refused our key" message and then I am asked to enter in my password. In the Google Cloud Console, on the project selector page, select or create a Google Cloud project. The ssh server then interpreted the modulus as a signed bignum and bailed. I added a user and their public key into the metadata in the Google Cloud console (sshKeys).I attempted to replace a public key in the metadata, but now the old one seems to be the only one able to ssh into my server (using PuTTY). ... Go to the VM instances page in Google Cloud Platform console.