It looks like you upgraded from Ubuntu 16.04 to Ubuntu 18.04.
>From the log file:

Unpacking openssh-server (1:7.6p1-4) over (1:7.2p2-4ubuntu2.4) ...

Then the upgrade asked you what to do with the modified conffile, again,
from the log:

Configuring openssh-server
sshd_config: A new version (/tmp/filerMG8sJ) of configuration file 
/etc/ssh/sshd_config is available, but the
version installed currently has been locally modified.
What do you want to do about modified configuration file sshd_config?           
                                install the package maintainer's version
keep the local version currently installed
show the differences between the versions
show a side-by-side difference between the versions
start a new shell to examine the situation
<snip>
# nano /tmp/filerMG8sJ
<snip>
Replacing config file /etc/ssh/sshd_config with new version

At which point you edited the file and instructed the upgrade process to
use the new package version.

I'm not quite sure what you expect this bug to resolve, the package
seems to be acting as it should.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1802090

Title:
  update overwrites sshd_config

Status in openssh package in Ubuntu:
  Incomplete

Bug description:
  The latest update for Bionic (18.04.1) either overwrote or modified my
  /etc/ssh/sshd_config with the result that I could no longer access my
  machine using ssh.

  A specific
      Port [x]
  line was removed and replaced by:
      #Port 22

  This was the only change. It happened as part of an automated process
  this morning  - presumably a security update.

  Was this behaviour intended?!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1802090/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to