BungeeCloud Forum
Ubuntu 16.04 OpenSSH Problem 2 - Printable Version

+- BungeeCloud Forum (https://forum.bungeecloud.org)
+-- Forum: English (https://forum.bungeecloud.org/forumdisplay.php?fid=13)
+--- Forum: Tutorials (https://forum.bungeecloud.org/forumdisplay.php?fid=24)
+---- Forum: vServer (https://forum.bungeecloud.org/forumdisplay.php?fid=28)
+---- Thread: Ubuntu 16.04 OpenSSH Problem 2 (/showthread.php?tid=86)



Ubuntu 16.04 OpenSSH Problem 2 - Clemens - 10-07-2019

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 create a Cronjob wich runs after every server reboot:

Code:

Code:
crontab -e
With the following Data:
Code:

Code:
@reboot mkdir -p -m0755 /var/run/sshd && systemctl restart ssh.service

Now you save the file.


After that you have to reboot your Machine.