So I installed openSSH-server on my ubuntu 16.10 with
sudo apt-get install openssh-server and it worked BUT when I type
sudo service ssh start it says
Job for ssh.service failed because the control process exited with error code. see systemctl status ssh.service and journalctl -xe for details.
systemctl status ssh.service and it says the following
`"ssh.service - OpenBSD Secure Shell Server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since 2017-01-04 15:56:11 CET; 19s ago Process: 2701 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255) Main PID: 2701 (code=exited, status=255) Jan 04 15:56:11 PM-server systemd: Starting OpenBSD Secure Shell server... Jan 04 15:56:11 PM-server systemd: ssh.service: Main process exited, code=exited, status=255/n/a Jan 04 15:56:11 PM-server systemd: Failed to start OpenBSD Secure Shell server. Jan 04 15:56:11 PM-server systemd: ssh.service: Unit entered failed state. Jan 04 15:56:11 PM-server systemd: ssh. service: Failed with result "exit-code""`
Any Ideas on how to fix this? I googled a couple of hours but didn't find anything usefull. thx on beforehand.