[GH-ISSUE #150] SSH Key 25519 again #47

Closed
opened 2026-02-26 12:40:01 +03:00 by kerem · 11 comments
Owner

Originally created by @Just4Link on GitHub (Oct 14, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE-Local/issues/150

Sorry to open a new issue but it seems the fix wasnt successful.
I even recreated the lxc from scratch but the same behavior as 0.4.0.
See #137

Originally created by @Just4Link on GitHub (Oct 14, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE-Local/issues/150 Sorry to open a new issue but it seems the fix wasnt successful. I even recreated the lxc from scratch but the same behavior as 0.4.0. See #137
kerem closed this issue 2026-02-26 12:40:01 +03:00
Author
Owner

@kasi-mir33 commented on GitHub (Oct 14, 2025):

Can confirm, doesn't work for me either.

<!-- gh-comment-id:3402859072 --> @kasi-mir33 commented on GitHub (Oct 14, 2025): Can confirm, doesn't work for me either.
Author
Owner

@michelroegl-brunner commented on GitHub (Oct 14, 2025):

How exactly did you try and add the key? Did you get any errors during the server "creation"?
Or what error did you get exactly?

<!-- gh-comment-id:3403024466 --> @michelroegl-brunner commented on GitHub (Oct 14, 2025): How exactly did you try and add the key? Did you get any errors during the server "creation"? Or what error did you get exactly?
Author
Owner

@OptimusGREEN commented on GitHub (Oct 14, 2025):

I believe this issue is the same as #154 and #131
it effects rsa keys too. It look to me like the key isn't making it into the db based on the logs I provided in #131

<!-- gh-comment-id:3403327095 --> @OptimusGREEN commented on GitHub (Oct 14, 2025): I believe this issue is the same as #154 and #131 it effects rsa keys too. It look to me like the key isn't making it into the db based on the logs I provided in #131
Author
Owner

@Just4Link commented on GitHub (Oct 14, 2025):

I create the lxc with default but ip adress and lxc number. There are no errors during the creation of the lxc. When i allow my proxmox sshd to login with password everything works fine but with rsa keys no chance.

To add the key i tried both options. Upload the key and copy 'n' paste. With copy and paste i tried even cut down the key to match your example when the text field is empty like in #137

<!-- gh-comment-id:3403339372 --> @Just4Link commented on GitHub (Oct 14, 2025): I create the lxc with default but ip adress and lxc number. There are no errors during the creation of the lxc. When i allow my proxmox sshd to login with password everything works fine but with rsa keys no chance. To add the key i tried both options. Upload the key and copy 'n' paste. With copy and paste i tried even cut down the key to match your example when the text field is empty like in #137
Author
Owner

@michelroegl-brunner commented on GitHub (Oct 16, 2025):

I guess i found the error. Please update and try again with your keys. I also added the option to add a key pair directly, please try that as well when you key dose not work. Delete your existing servers and create them new please.

<!-- gh-comment-id:3411008465 --> @michelroegl-brunner commented on GitHub (Oct 16, 2025): I guess i found the error. Please update and try again with your keys. I also added the option to add a key pair directly, please try that as well when you key dose not work. Delete your existing servers and create them new please.
Author
Owner

@Just4Link commented on GitHub (Oct 16, 2025):

Back from testing. It seems you fix it :)
I set up a new lxc and added the server. But there is a litle caveat.

When you generate a key in the linux terminal there is normally a whitespace in a new line under the end of the key like that:

-----BEGIN OPENSSH PRIVATE KEY-----
key...bladibla
key...jölkjötl
key...kjtkjöelt
-----END OPENSSH PRIVATE KEY-----

[empty line above]

When you import the key it will fail again. You have to edit the key in the "Paste Key" section and delete this empty line to get it to work.

When you Import the key via paste you just have to paste without that line.

The new option to directly create a pair works out of the box. Really nice to have. Only downer if when you click show public key nothing happens.

Good job so far.

<!-- gh-comment-id:3412516654 --> @Just4Link commented on GitHub (Oct 16, 2025): Back from testing. It seems you fix it :) I set up a new lxc and added the server. But there is a litle caveat. When you generate a key in the linux terminal there is normally a whitespace in a new line under the end of the key like that: -----BEGIN OPENSSH PRIVATE KEY----- key...bladibla key...jölkjötl key...kjtkjöelt -----END OPENSSH PRIVATE KEY----- [empty line above] When you import the key it will fail again. You have to edit the key in the "Paste Key" section and delete this empty line to get it to work. When you Import the key via paste you just have to paste without that line. The new option to directly create a pair works out of the box. Really nice to have. Only downer if when you click show public key nothing happens. Good job so far.
Author
Owner

@michelroegl-brunner commented on GitHub (Oct 16, 2025):

Ok, than i change it so it searches for that new line to strip. Just glad the connection works now, the rest i can test and fix. Thank you for your feedback and patience!

<!-- gh-comment-id:3412727457 --> @michelroegl-brunner commented on GitHub (Oct 16, 2025): Ok, than i change it so it searches for that new line to strip. Just glad the connection works now, the rest i can test and fix. Thank you for your feedback and patience!
Author
Owner

@kasi-mir33 commented on GitHub (Oct 17, 2025):

Sorry I was away the past couple of days so I'm just now getting around to test it.
I just did a completely new LXC install and when I try to set up a server I immediately get the error Failed to fetch servers which is weird because I didn't add any server yet.
I also can't seem to add my server. No matter if I try with pw or ssh key I get failed to create server.

<!-- gh-comment-id:3414524351 --> @kasi-mir33 commented on GitHub (Oct 17, 2025): Sorry I was away the past couple of days so I'm just now getting around to test it. I just did a completely new LXC install and when I try to set up a server I immediately get the error `Failed to fetch servers` which is weird because I didn't add any server yet. I also can't seem to add my server. No matter if I try with pw or ssh key I get `failed to create server`.
Author
Owner

@michelroegl-brunner commented on GitHub (Oct 17, 2025):

a fresh install you say? let me test quickly

<!-- gh-comment-id:3414553018 --> @michelroegl-brunner commented on GitHub (Oct 17, 2025): a fresh install you say? let me test quickly
Author
Owner

@michelroegl-brunner commented on GitHub (Oct 17, 2025):

Sorry I was away the past couple of days so I'm just now getting around to test it. I just did a completely new LXC install and when I try to set up a server I immediately get the error Failed to fetch servers which is weird because I didn't add any server yet. I also can't seem to add my server. No matter if I try with pw or ssh key I get failed to create server.

It is working again!

<!-- gh-comment-id:3414814521 --> @michelroegl-brunner commented on GitHub (Oct 17, 2025): > Sorry I was away the past couple of days so I'm just now getting around to test it. I just did a completely new LXC install and when I try to set up a server I immediately get the error `Failed to fetch servers` which is weird because I didn't add any server yet. I also can't seem to add my server. No matter if I try with pw or ssh key I get `failed to create server`. It is working again!
Author
Owner

@kasi-mir33 commented on GitHub (Oct 17, 2025):

Thanks! I was able to get it to work as well.

<!-- gh-comment-id:3414914187 --> @kasi-mir33 commented on GitHub (Oct 17, 2025): Thanks! I was able to get it to work as well.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE-Local#47
No description provided.