Skip to content

X-Forward

Server

  • X11Forwarding enabled?
  • xauth installed?
1
2
3
4
5
grep X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes

# type xauth
xauth is /usr/bin/xauth

Client

SSH Agent

1
2
3
4
eval $(ssh-agent)
ssh-add ~/.ssh/..

ssh host

SSH Agent & tmux

Update some env. variables.

1
eval $(tmux show-env -s )

Last update: March 25, 2021
Back to top