/
X11 Forwarding & SSH Terminate After Reboot
X11 Forwarding & SSH Terminate After Reboot
Install xbase-clients to enable the xauth mechanism for X11 forwarding
Install libpam-systemd dbus to enable SSH session termination
Why should I care?
- Enables displaying graphical dialogue on a remote terminal
- Allows for terminals to automatically exit upon node reboot
Description | Command | |
---|---|---|
1 | Install the xauth mechanism through the xbase-clients application, install libpam-systemd dbus and update the package cache | sudo apt-get install xbase-clients -y sudo apt-get install libpam-systemd dbus -y sudo apt-get update -y |
2 | Verify that X11Forwarding and UsePAM are enabled in sshd_config NOTE: By default, after installing xbase-clients, X11Forwarding will be set to yes NOTE: By default, after installing libpam-systemd dbus, UsePAM will be set to yes | grep -i X11Forwarding /etc/ssh/sshd_config | grep -v "#" grep -i UsePAM /etc/ssh/sshd_config |
3 | Reboot node to apply changes | sudo reboot |
, multiple selections available,
Related content
重启后X11Forwarding和终止SSH
重启后X11Forwarding和终止SSH
More like this
Reenvío X11 y SSH finalizan después de reiniciar
Reenvío X11 y SSH finalizan después de reiniciar
More like this
Part 4 - Securing SSH
Part 4 - Securing SSH
More like this
Part 4a - Securing SSH (Windows Systems)
Part 4a - Securing SSH (Windows Systems)
More like this
Part 2 - Login / Creating a non-root user
Part 2 - Login / Creating a non-root user
More like this
Parte 4 - Asegurando SSH
Parte 4 - Asegurando SSH
More like this