[PR #1313] [MERGED] fix: make ssh authorized key default to empty string if unset #3106

Closed
opened 2026-02-26 13:32:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/1313
Author: @dsiebel
Created: 1/7/2025
Status: Merged
Merged: 1/7/2025
Merged by: @MickLesk

Base: developHead: fix-authorized-keys


📝 Commits (1)

  • 824ba0a fix: make ssh authorized key default to empty string if unset

📊 Changes

1 file changed (+15 additions, -13 deletions)

View changed files

📝 misc/build.func (+15 -13)

📄 Description

✍️ Description

Fixes a case where not allowing root access causes an unbound variable error for SSH_AUTHORIZED_KEY.

Related Discussion: #860
Related PR: #1060


🛠️ Type of Change

Please check the relevant options:

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts)

Prerequisites

The following steps must be completed for the pull request to be considered:

  • Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
  • Testing performed (I have thoroughly tested my changes and verified expected functionality.)
  • Documentation updated (I have updated any relevant documentation)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/1313 **Author:** [@dsiebel](https://github.com/dsiebel) **Created:** 1/7/2025 **Status:** ✅ Merged **Merged:** 1/7/2025 **Merged by:** [@MickLesk](https://github.com/MickLesk) **Base:** `develop` ← **Head:** `fix-authorized-keys` --- ### 📝 Commits (1) - [`824ba0a`](https://github.com/community-scripts/ProxmoxVE/commit/824ba0ad84d6b17cd43b390daee825eaec9812a9) fix: make ssh authorized key default to empty string if unset ### 📊 Changes **1 file changed** (+15 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `misc/build.func` (+15 -13) </details> ### 📄 Description ## ✍️ Description Fixes a case where not allowing root access causes an `unbound variable` error for `SSH_AUTHORIZED_KEY`. Related Discussion: #860 Related PR: #1060 --- ## 🛠️ Type of Change Please check the relevant options: - [x] Bug fix (non-breaking change that resolves an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change unexpectedly) - [ ] New script (a fully functional and thoroughly tested script or set of scripts) --- ## ✅ Prerequisites The following steps must be completed for the pull request to be considered: - [x] Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.) - [ ] Testing performed (I have thoroughly tested my changes and verified expected functionality.) - [ ] Documentation updated (I have updated any relevant documentation) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 13:32:26 +03:00
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#3106
No description provided.