mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-25 04:35:50 +03:00
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#474
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?
📋 Pull Request Information
Original PR: https://github.com/community-scripts/ProxmoxVE-Local/pull/478
Author: @michelroegl-brunner
Created: 1/29/2026
Status: ✅ Merged
Merged: 1/29/2026
Merged by: @michelroegl-brunner
Base:
main← Head:fix/312📝 Commits (1)
4bc5f4dfix: handle special characters in SSH password/passphrase (Fixes #312)📊 Changes
3 files changed (+59 additions, -31 deletions)
View changed files
📝
src/app/_components/ServerForm.tsx(+5 -0)📝
src/server/ssh-execution-service.js(+49 -28)📝
src/server/ssh-service.js(+5 -3)📄 Description
Summary
Fixes #312 — script install fails when SSH password contains special characters (e.g.
{).Changes
sshpass -fwith a temporary file instead ofsshpass -p ${password}so the password/passphrase never goes through the shell. Temp file is created with mode 0600 and removed inclose/error/catch.SSH_PASSWORDenv var and use$env(SSH_PASSWORD)in the expect script so the password is not embedded in the script string (safe for{,},$,", etc.).Testing
{,},$,", space, backslash work for script install and connection test.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.