Cannot register SSH keyfile, RPC ERROR: Invalid Request key format

ETA: If you install of Start9 OS is not on your main system but on a headless server, after installing Start9 OS, log into that server from a web broswer. Copy the key file from terminal (if using linux) and paste into the key file box. It should work.

I followed the guide to setup an SSH key file on my linux machine for my new Start9 server using Start9 | Using SSH

Using cat ~/.ssh/id_ed25519.pub on terminal, I was showed a key string

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ/Be7eGaoPikCCBcb5y456BXS12ZHIjhduy^&&Hhdbf+ username@username

According the guide posted above, I “pasted” that into the SSH key and verified that everything matched but no matter what I do, all I see is an RPC ERROR: Invalid Request key format.

I searched, what I am doing wrong?

You’re linking to a guide on SSH over TOR. Why are you doing this? The correct guide is at the top of the same page.

I can also tell you that this key is not a valid ed25519, so I’m not sure how you managed to generate it.

What format does the key need to be in?

I copied the format on the guide, same error.

The key is generated by ssh-keygen -t ed25519

I don’t know of any way this could ever generate and invalid key. I would delete and start over. This is the correct guide: Start9 | Using SSH

I followed the steps in the guide again and I created a new SSH keyfile as displayed in the attached picture. After pasting that into the SSH key file space, the same errors shows.

I would be beneficial if the mods could add key file errors into the guides so we would not have to ask here for help.

I feel dumb. I use Start9 as a headless server. I forgot that I could log into it from my browser. I copied the key file and added to the keyfile, it worked right away.

Step 1: Log into your Start9 OS (if using as a headless server on your network)
Step2: Copy the key from terminal (or whatever distro you are using)
Step 3: Paste that into the SSH key file. It should work.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.