[GH-ISSUE #267] "SSH shell execution failed: SSH key file not found" when performing Shell or Update #85

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

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

Have you read and understood the above guidelines?

yes

📝 Provide a clear and concise description of the issue.

When trying to start the actions "Shell" or "Update", i always get "[ERROR] SSH shell execution failed: SSH key file not found". Ive setup my pve Server and that connection works (freshly generated keypair, used this coonection to fetch installed LXCs

🔄 Steps to reproduce the issue.

Step 1 : Klick Actions -> Update or Shell on one of the Servers in "Installed Scripts"

Paste the full error output (if available).

[8:56:46 PM] [START] Starting shell session for container 103...
[8:56:46 PM] [ERROR] SSH shell execution failed: SSH key file not found

🖼️ Additional context (optional).

Maybe im missing something. Creating a new Installation works fine, but there im also unable to connect.

Originally created by @KagetaneHiruko on GitHub (Oct 28, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE-Local/issues/267 ### ✅ Have you read and understood the above guidelines? yes ### 📝 Provide a clear and concise description of the issue. When trying to start the actions "Shell" or "Update", i always get "[ERROR] SSH shell execution failed: SSH key file not found". Ive setup my pve Server and that connection works (freshly generated keypair, used this coonection to fetch installed LXCs ### 🔄 Steps to reproduce the issue. Step 1 : Klick Actions -> Update or Shell on one of the Servers in "Installed Scripts" ### ❌ Paste the full error output (if available). [8:56:46 PM] [START] Starting shell session for container 103... [8:56:46 PM] [ERROR] SSH shell execution failed: SSH key file not found ### 🖼️ Additional context (optional). Maybe im missing something. Creating a new Installation works fine, but there im also unable to connect.
kerem 2026-02-26 12:40:08 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@KagetaneHiruko commented on GitHub (Nov 5, 2025):

Well, i re-installed everything and it works now. Maybe i have somehow screwed up my sshd_config or whatever :)

TL;DR: Found the problem, it was me

<!-- gh-comment-id:3493319312 --> @KagetaneHiruko commented on GitHub (Nov 5, 2025): Well, i re-installed everything and it works now. Maybe i have somehow screwed up my sshd_config or whatever :) TL;DR: Found the problem, it was me
Author
Owner

@YamenSharaf commented on GitHub (Nov 14, 2025):

@KagetaneHiruko What was the issue here? I'm having the same problem

<!-- gh-comment-id:3533363170 --> @YamenSharaf commented on GitHub (Nov 14, 2025): @KagetaneHiruko What was the issue here? I'm having the same problem
Author
Owner

@jwgn commented on GitHub (Nov 30, 2025):

Same issue here. What's the solution?

<!-- gh-comment-id:3593750777 --> @jwgn commented on GitHub (Nov 30, 2025): Same issue here. What's the solution?
Author
Owner

@derdems commented on GitHub (Dec 5, 2025):

@KagetaneHiruko I am sorry that I have to ask as well. Can you elaborate: What includes everything in terms of what you re-installed?
My connection tests pass including ssh keys are being found and recognized – nevertheless: actions on containers fail – I tried shell and update – no luck.

<!-- gh-comment-id:3616836348 --> @derdems commented on GitHub (Dec 5, 2025): @KagetaneHiruko I am sorry that I have to ask as well. Can you elaborate: What includes everything in terms of what you re-installed? My connection tests pass including ssh keys are being found and recognized – nevertheless: actions on containers fail – I tried shell and update – no luck.
Author
Owner

@KagetaneHiruko commented on GitHub (Dec 5, 2025):

@derdems @YamenSharaf i suspect that something in my sshd_conf was responsible for the errors: I turned off: Root authentication and password authentication.

I had to reinstall my pve node, so basically everything got reset and now it works.

<!-- gh-comment-id:3617173403 --> @KagetaneHiruko commented on GitHub (Dec 5, 2025): @derdems @YamenSharaf i suspect that something in my sshd_conf was responsible for the errors: I turned off: Root authentication and password authentication. I had to reinstall my pve node, so basically everything got reset and now it works.
Author
Owner

@derdems commented on GitHub (Dec 6, 2025):

Thank you for the response!
You re-installed the complete node you wanted to control with the local scripts?

<!-- gh-comment-id:3619079179 --> @derdems commented on GitHub (Dec 6, 2025): Thank you for the response! You re-installed the complete node you wanted to control with the local scripts?
Author
Owner

@Ksdmg commented on GitHub (Dec 27, 2025):

I'm encountering the same issue. All containers have been scanned, I can run scripts directly on the host (tried the update all containers script) but when I want to update a specific application or run a backup I get this error.

<!-- gh-comment-id:3693918965 --> @Ksdmg commented on GitHub (Dec 27, 2025): I'm encountering the same issue. All containers have been scanned, I can run scripts directly on the host (tried the update all containers script) but when I want to update a specific application or run a backup I get this error.
Author
Owner

@4wrxb commented on GitHub (Dec 30, 2025):

For others encountering this error, I manually copied /root/.ssh/id_rsa from the PVE host into the pve-scripts-local container and it resolved the issue. I am unable to find a log of the original set-up of pve-scripts-local, but I do recall seeing an issue during install about their being no SSH key to copy. However, I thought I had selected this key during the advanced set-up so 🤷‍♂️

<!-- gh-comment-id:3697937178 --> @4wrxb commented on GitHub (Dec 30, 2025): For others encountering this error, I manually copied `/root/.ssh/id_rsa` from the PVE host into the pve-scripts-local container and it resolved the issue. I am unable to find a log of the original set-up of pve-scripts-local, but I do recall seeing an issue during install about their being no SSH key to copy. However, I thought I had selected this key during the advanced set-up so 🤷‍♂️
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#85
No description provided.