Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ubuntu 16.04 OpenSSH Problem
Since an update for the OpenSSH package under Ubuntu 16.04 for OpenVz, the package OpenSSh no longer works.
As soon as the affected OpenSSH server is restarted afterwards, there is no SSh Connection possible,

There is a simple solution for this:

First you choice your server in the Custom Area:
[Image: server_ausw%C3%A4hlen.png]

Then you have to click on the Manage Button to see SolusVM:
[Image: manage.png]

After that, you create a Temporary ssh Session, with the Button "Serial Console".
[Image: serial_console.png]
After that you connect with the given password.
[Image: putty.png][Image: ssh_serial.png]

Now to the Problem:
you have to edit the file /usr/lib/tmpfiles.d/sshd.conf with a file editor, for example with SolusVM:

nano /usr/lib/tmpfiles.d/sshd.conf

If you get "-bash: /bin/nano: No such file or directory", you have to install nano first with the command "apt install nano"

apt install nano

Then you edit the file to the following:

d /run/sshd 0755 root root

After that you have a window like that:
[Image: ssh_Datei.png]

You have to save the file and close the editor with strg+x and y.
After that you have to reboot your Machine.

Forum Jump:

Users browsing this thread: 1 Guest(s)