Debian - Close SSH Connections Before Turning Off

With the default Debian 8.1 installation, whenever I send the command to turn off or restart my server, my terminal that is connected via SSH is left hanging and unresponsive.

Luckily this can be easily resolved by executing:

sudo apt install libpam-systemd dbus

Then you need to reboot for the changes to take effect.




Stuart is a software developer with a passion for Linux and open source projects.

comments powered by Disqus
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to and affiliated sites. More info.