mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-25 04:35:50 +03:00
[GH-ISSUE #150] SSH Key 25519 again #47
Labels
No labels
bug
enhancement
enhancement
feature
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxVE-Local#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@kasi-mir33 commented on GitHub (Oct 14, 2025):
Can confirm, doesn't work for me either.
@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?
@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
@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
@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.
@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.
@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!
@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 serverswhich 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.@michelroegl-brunner commented on GitHub (Oct 17, 2025):
a fresh install you say? let me test quickly
@michelroegl-brunner commented on GitHub (Oct 17, 2025):
It is working again!
@kasi-mir33 commented on GitHub (Oct 17, 2025):
Thanks! I was able to get it to work as well.