mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-25 12:45:50 +03:00
[GH-ISSUE #267] "SSH shell execution failed: SSH key file not found" when performing Shell or Update #85
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#85
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 @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.
@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
@YamenSharaf commented on GitHub (Nov 14, 2025):
@KagetaneHiruko What was the issue here? I'm having the same problem
@jwgn commented on GitHub (Nov 30, 2025):
Same issue here. What's the solution?
@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.
@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.
@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?
@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.
@4wrxb commented on GitHub (Dec 30, 2025):
For others encountering this error, I manually copied
/root/.ssh/id_rsafrom 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 🤷♂️