...
openssh-server
Сообщений 1 страница 2 из 2
Поделиться22019-03-19 10:18:31
https://ubuntuforums.org/showthread.php?t=1037603
error:
invoke-rc.d: initscript ssh, action "restart" failed.
< ... >
dpkg: dependency problems prevent configuration of ssh:
ssh depends on openssh-server (>= 1:7.6p1-4ubuntu0.3); however:
Package openssh-server is not configured yet.dpkg: error processing package ssh (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
openssh-server
ssh
E: Sub-process /usr/bin/dpkg returned an error code (1)
solve:
sudo apt-get --purge remove openssh-server sudo apt-get install openssh-server
If that dint solve your problem try to get rid of the /etc/sshd_config file