You appear to have manually removed /etc/ssh, so you'll have to recover
from that manually too. Reinstall the openssh-client package as
follows:
sudo mkdir -p /etc/ssh
sudo dpkg --configure openssh-server
sudo apt install -oDPkg::options::=--force-confmiss --reinstall openssh-client
I've committed a change to my Debian openssh repository to ensure that
/etc/ssh exists before trying to create sshd_config within it, which
would have helped somewhat with this.
** Changed in: openssh (Ubuntu)
Importance: Undecided => Low
** Changed in: openssh (Ubuntu)
Status: New => Fix Committed
** Changed in: openssh (Ubuntu)
Assignee: (unassigned) => Colin Watson (cjwatson)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1685022
Title:
package openssh-server 1:7.2p2-4ubuntu2.1 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1685022/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs