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
I had fixed an earlier problem with /etc/ssh/
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: openssh-server 1:8.2p1-4ubuntu0.5
ProcVersionSign
Uname: Linux 5.13.0-41-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
AptOrdering:
firefox-
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Mon May 23 06:37:07 2022
ErrorMessage: installed openssh-server package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-10-06 (593 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.8
SSHDConfig:
Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 255: /etc/ssh/
/etc/ssh/
/etc/ssh/
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: Upgraded to focal on 2021-09-29 (235 days ago)
tags: | removed: need-duplicate-check |
Thanks for taking the time to report this bug and trying to make Ubuntu better.
From the sshd logs in the description we can see:
Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 255: /etc/ssh/ sshd_config: line 125: Bad configuration option: Host sshd_config: line 126: Bad configuration option: ForwardX11 sshd_config: terminating, 2 bad configuration options
/etc/ssh/
/etc/ssh/
Which tells us that your sshd_config file has some bad configuration on line 125 and 126. Please, revisit your configuration file and fix it up.
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://