$ cat ~/.ssh/config AddKeysToAgent yes ForwardAgent yes ForwardX11 yes ForwardX11Trusted yes XAuthLocation /run/current-system/profile/bin/xauth