There is a difference between you describing what you did and us seeing what you actually did. Some screenshots would be helpful.
I just enabled SSH on my machine to check on 23.10.1.
I used my admin account as an example. Under Credentials -> Local Users -> Admin -> edit I pasted my
public key. The easiest would be to use the Choose File button and upload the public key file.
View attachment 75272
I didn't know on top of my head, whether you need to disable password based authentication or not. I checked, when you correctly configured ssh keys they will be used, but you can skip them and use your password. Ignore the checkmark for now.
After you did this, you should be able to login using your key.
In the next steps you could either disable password based authentication per user or under Services -> SSH
View attachment 75273
you could disable passwords for every user. This is to enforce the ssh key based authentication.
I also created a ed25519 key pair to double check whether ed25519 is supported or not. At least in 23.10.1 it is supported.
My suspicion is that you did not correctly configure your ssh keys and that's why you are not prompted for your keys. Also, just to be sure, you are prompted for your user password and not the ssh key password?
1) Upload the public key via file
2) check if you are prompted for a key (or rather you should be prompted for the key password or be logged in directly when you did not set a password for your key)
3) If not, try and disable "SSH password login enabled" for the user, see if it works now
Did you try to generate a new key pair, just for testing?
When using another keypair it may be required to specify which private key to use (at least in windows terminal it will otherwise just use the default key
.ssh/id_rsa
):
ssh -i "/path/to/keyfile" user@host
If that still does not work, please provide screenshots.