Infra_HDC

FreeBSD-11.2 X11 ssh forwarding

Jan 30th, 2020
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. 1. On FreeBSD host (server):
  2. 1.1. $ su -
  3. 1.2. # pkg install xauth
  4. 1.3. "# nano -w /etc/ssh/sshd_config" and modify this string to be:
  5. X11Forwarding yes
  6. 1.3.1. If not success, also may be:
  7. X11UseLocalhost no
  8. AddressFamily inet
  9. 1.4. "# /etc/rc.d/sshd restart" or reboot host
  10.  
  11. 2. On a Linux Guest (client)
  12. $ ssh -2 -X -C user@freebsd-host
  13. $ firefox &
  14.  
  15. 3. Profit
Add Comment
Please, Sign In to add comment