package openssh-server 1:8.2p1-4ubuntu0.5 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
"System Problem Detected"
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: openssh-server 1:8.2p1-4ubuntu0.5
ProcVersionSign
Uname: Linux 5.13.0-41-generic x86_64
ApportVersion: 2.20.11-
AptOrdering:
curl:amd64: Install
libcurl4:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Tue Jun 28 06:18:40 2022
ErrorMessage: installed openssh-server package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-07-08 (354 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3.2
apt 2.0.9
SourcePackage: openssh
Title: package openssh-server 1:8.2p1-4ubuntu0.5 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Thank you for taking the time to file a bug report.
By checking the attached files at:
https:/ /launchpadlibra rian.net/ 610065823/ DuplicateSignat ure.txt, and /launchpadlibra rian.net/ 610065825/ SSHDConfig. txt,
https:/
I noticed that the ssh server failed to restart because systemd's ExecStartPre failed. The failed command was "/usr/sbin/sshd -t", which checks your configuration files.
From https:/ /launchpadlibra rian.net/ 610065825/ SSHDConfig. txt, I see that the permissions on your keys are being rejected by sshd:
Permissions 0670 for '/etc/ssh/ ssh_host_ rsa_key' are too open.
It is required that your private key files are NOT accessible by others.
Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.
However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://