Month: December 2021

ssh command does not exit when X11 forwarding is enabled

By: | Post date: December 3, 2021 | Comments: No Comments

Posted in categories: Computer Tips, Work related

If ForwadX11 and ForwardX11Trusted are both enabled in /etc/ssh/ssh_config, when you do “ssh host” it will invoke X11 forwarding by default. This is convenient when you frequently need to run programs with GUI on remote host. However, with X11 forwarding, if you are simply running a text mode command/script via ssh, like “ssh node ls” […]