# ensure `X11Forwarding yes` is set (or uncommented)
sudo vi /etc//etc/ssh/sshd_config
# confirm no mistakes in config
sudo sshd -t -f /etc/ssh/sshd_config
# restart sshd
sudo systemctl restart sshd.service
# if any issues
sudo systemctl status sshd.service
Last active
August 13, 2023 08:27
-
-
Save subfuzion/2a1d1a4757e5c9319777258b30f6ed7d to your computer and use it in GitHub Desktop.
Enable X11 forwarding on Ubuntu 23.04
Secure:
ssh -Y user@host
If security isn't an issue:
ssh -X user@host
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment