seqeralabs / nf-tower

Nextflow Tower system
https://tower.nf
Mozilla Public License 2.0
144 stars 51 forks source link

Unrecognised SSH private key type #290

Closed PedroRaposo closed 3 years ago

PedroRaposo commented 3 years ago

Hello,

When filling a new compute environment, I am asked to fill the credentials of my machine, which include Name, SSH private key and passphrase. When filling both Name and SSH private key (without passphrase), I click "Create" to submit these credentials, but I get the error "Unrecognised SSH private key type". I created my ssh key using ssh-keygen.

Could I be given a bit more info why is this my key unrecognizable?

Thank you

pditommaso commented 3 years ago

Hello, can you share the first line of your SSH key?

PedroRaposo commented 3 years ago

My SSH key is only one line. My ssh key is only 1 line, so maybe I am not understanding. I see that the key is separated by '/' signs, are you referring to the first string separated by "/"?

pditommaso commented 3 years ago

I think you are confusing the private with public key. You need to upload the one starting with a line similar to the following

-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA0fPOx7mcUAl3YIhqlllMOZsZMpXKjzfCNYK/JvKpk8dmfOk9
... 
-----END RSA PRIVATE KEY-----
PedroRaposo commented 3 years ago

You are right, my bad. Thank you for your time @pditommaso