Unable to listen on port 22 if multiple Port= present in sshd configuration
Bug #2059872 reported by
Andre Tomt
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Fix Released
|
High
|
Nick Rosbrook |
Bug Description
Recently introduced sshd-socket-
If you have multiple Port or ListenAddress and one of them is for port 22, it just skips it.
To show it clearly, here is an example:
Port 22
Port 1024
It generates:
ListenStream=
ListenStream=1024
Now nothing is listening to port 22, hence breaking existing configurations.
This was tested on 1:9.6p1-3ubuntu11.
The intention seems to be to not generate the drop-in if only port 22 is in use, but it does not account for the case of multiple Port or ListenAddress where one of them is for port 22.
Changed in openssh (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Nick Rosbrook (enr0n) |
Changed in openssh (Ubuntu): | |
status: | Triaged → In Progress |
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 2059872
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.