[GH-ISSUE #154] SSH key auth passes test, but script install fails with "Load key ... error in libcrypto" (rsync/ssh) #51

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

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

Have you read and understood the above guidelines?

yes

📝 Provide a clear and concise description of the issue.

Using PVE-Scripts-Local with SSH key only authentication to a Proxmox VE host:

  • The Saved Servers "Test Connection" reports success (SSH key authentication successful).
  • But installing any script fails. The runtime shows "Load key ... error in libcrypto" during rsync/ssh, then "Permission denied (publickey,password)".

My Proxmox VE host authorized_keys contains key entry:
ssh-... <public_key_here>
I have tested with both ED25519 and RSA keys. Same result.

🔄 Steps to reproduce the issue.

  1. On the Proxmox VE host (192.168.1.40), add an authorized_keys entry for root:
    ssh-ed25519 AAAA... or ssh-rsa AAAA...
  2. In PVE-Scripts-Local:
    • Authentication Type: SSH key only
    • Host: 192.168.1.40
    • No password set
  3. In Saved Servers, click "Test Connection".
    Result: "Connection Successful" and "SSH key authentication successful - credentials verified".
  4. Try to install a script, for example: scripts/ct/librespeed-rust.sh.

Paste the full error output (if available).

[22:21:19] [START] Starting SSH execution of scripts/ct/librespeed-rust.sh on pve (192.168.1.40)
[22:21:19] [ERROR] Warning: Permanently added '192.168.1.40' (ED25519) to the list of known hosts.

[22:21:19] [ERROR] Load key "/tmp/ssh-key-BPj76e/private_key": error in libcrypto

[22:21:19] [ERROR] Permission denied, please try again.
[22:21:19] [ERROR] Permission denied, please try again.
[22:21:19] [ERROR] root@192.168.1.40: Permission denied (publickey,password).

[22:21:19] [ERROR] rsync: connection unexpectedly closed (0 bytes received so far) [sender]
[22:21:19] [ERROR] rsync error: unexplained error (code 255) at io.c(232) [sender=3.4.1]

[22:21:19] [ERROR] SSH execution failed: rsync failed with code 255
[22:21:19] [ERROR] Failed to start SSH execution: rsync failed with code 255

🖼️ Additional context (optional).

No response

Originally created by @emerick-biron on GitHub (Oct 14, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE-Local/issues/154 ### ✅ Have you read and understood the above guidelines? yes ### 📝 Provide a clear and concise description of the issue. Using PVE-Scripts-Local with SSH key only authentication to a Proxmox VE host: - The Saved Servers "Test Connection" reports success (SSH key authentication successful). - But installing any script fails. The runtime shows "Load key ... error in libcrypto" during rsync/ssh, then "Permission denied (publickey,password)". My Proxmox VE host authorized_keys contains key entry: ssh-... <public_key_here> I have tested with both ED25519 and RSA keys. Same result. ### 🔄 Steps to reproduce the issue. 1. On the Proxmox VE host (192.168.1.40), add an authorized_keys entry for root: ssh-ed25519 AAAA... or ssh-rsa AAAA... 2. In PVE-Scripts-Local: - Authentication Type: SSH key only - Host: 192.168.1.40 - No password set 3. In Saved Servers, click "Test Connection". Result: "Connection Successful" and "SSH key authentication successful - credentials verified". 4. Try to install a script, for example: scripts/ct/librespeed-rust.sh. ### ❌ Paste the full error output (if available). [22:21:19] [START] Starting SSH execution of scripts/ct/librespeed-rust.sh on pve (192.168.1.40) [22:21:19] [ERROR] Warning: Permanently added '192.168.1.40' (ED25519) to the list of known hosts. [22:21:19] [ERROR] Load key "/tmp/ssh-key-BPj76e/private_key": error in libcrypto [22:21:19] [ERROR] Permission denied, please try again. [22:21:19] [ERROR] Permission denied, please try again. [22:21:19] [ERROR] root@192.168.1.40: Permission denied (publickey,password). [22:21:19] [ERROR] rsync: connection unexpectedly closed (0 bytes received so far) [sender] [22:21:19] [ERROR] rsync error: unexplained error (code 255) at io.c(232) [sender=3.4.1] [22:21:19] [ERROR] SSH execution failed: rsync failed with code 255 [22:21:19] [ERROR] Failed to start SSH execution: rsync failed with code 255 ### 🖼️ Additional context (optional). _No response_
kerem 2026-02-26 12:40:01 +03:00
  • closed this issue
  • added the
    bug
    label
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:3411009287 --> @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

@emerick-biron commented on GitHub (Oct 16, 2025):

Yes it's works
Thanks

<!-- gh-comment-id:3411808947 --> @emerick-biron commented on GitHub (Oct 16, 2025): Yes it's works Thanks
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#51
No description provided.