marianogedisman
New Member
Greetings everyone! So, after a lot of digging, and mailing-list writing (both to OpenSSL and OpenSSH), I can't seem to get to any good port.
I have the following private key:
That I am trying to use with my Google cloud VM through the browser console, but when trying to use it, I get the following error:
Now, I tried with openssl, from
I know I'm doing everything wrong! But is there any kind soul who could lead me to the right path?
I've been told the key could be old, unsupported, etc. Is there any way to make this work? I mean, it's not a deeply necessary resource the one I want to access, but I want to learn from this, so anyone willing to help me, I would personally super appreciate it!
Thanks in advance
--Mariano
I have the following private key:
Code:
-----BEGIN OPENSSH PRIVATE KEY-----
[Key contents]
-----END OPENSSH PRIVATE KEY-----
That I am trying to use with my Google cloud VM through the browser console, but when trying to use it, I get the following error:
Connect with private SSH key
Error: Failed to read key. The key file must be ECDSA or RSA in PEM format. Try another key or connect with an auto generated SSH key.
Select a private ECDSA or RSA key file to sign into the VM or connect with a generated SSH key.
Now, I tried with openssl, from
openssl rsa -in id_rsa.txt -out id_rsa.pem -outform PEM
to ssh-keygen -e -m PEM -f id_rsa.txt > id_rsa_converted.txt
(this one produced an output but wasn't usable) and also ssh-keygen -i -f id_rsa.txt -m PEM
I know I'm doing everything wrong! But is there any kind soul who could lead me to the right path?
I've been told the key could be old, unsupported, etc. Is there any way to make this work? I mean, it's not a deeply necessary resource the one I want to access, but I want to learn from this, so anyone willing to help me, I would personally super appreciate it!
Thanks in advance
--Mariano