SSH not installed on Debian VM 12 #1130

Closed
opened 2026-02-04 23:14:07 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @daschmidt1994 on GitHub (Jun 20, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Debian 12 VM

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/debian-vm.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

After the install there is this https://github.com/community-scripts/ProxmoxVE/discussions/836. When I work from top to bottem(sed -i -e 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' -e 's/^PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config ssh-keygen -A systemctl restart sshd)
There is this Error in the VM: Failed to restart sshd.service: Unit sshd.service not found.

Maybe it's possible to add the openssh server to the VM.
I know I can install this by my own but it's a nice to have

🔄 Steps to reproduce the issue.

Install debian 12 VM and configurate SSH

Paste the full error output (if available).

🖼️ Additional context (optional).

No response

Originally created by @daschmidt1994 on GitHub (Jun 20, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Debian 12 VM ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/debian-vm.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. After the install there is this [https://github.com/community-scripts/ProxmoxVE/discussions/836](url). When I work from top to bottem(`sed -i -e 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' -e 's/^PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config ssh-keygen -A systemctl restart sshd`) There is this Error in the VM: `Failed to restart sshd.service: Unit sshd.service not found.` Maybe it's possible to add the openssh server to the VM. I know I can install this by my own but it's a nice to have ### 🔄 Steps to reproduce the issue. Install debian 12 VM and configurate SSH ### ❌ Paste the full error output (if available). - ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 23:14:07 +03:00
Author
Owner

@MickLesk commented on GitHub (Jun 20, 2025):

Try with

apt install openssh-client
apt install openssh-server

Before all other commands

@MickLesk commented on GitHub (Jun 20, 2025): Try with apt install openssh-client apt install openssh-server Before all other commands
Author
Owner

@daschmidt1994 commented on GitHub (Jun 20, 2025):

Try with

apt install openssh-client apt install openssh-server

Before all other commands

yes this work but is a little bit confusing, maybe change the docs or add the openssh server

@daschmidt1994 commented on GitHub (Jun 20, 2025): > Try with > > apt install openssh-client apt install openssh-server > > Before all other commands yes this work but is a little bit confusing, maybe change the docs or add the openssh server
Author
Owner

@MickLesk commented on GitHub (Jun 20, 2025):

Its already done

@MickLesk commented on GitHub (Jun 20, 2025): Its already done
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1130