ssh -X (X11 forwarding) not working from 6.1 to 8.1

perryh at pluto.rain.com perryh at pluto.rain.com
Tue Jul 12 05:49:34 UTC 2011


Eitan Adler <lists at eitanadler.com> wrote:

> > It still fails with the 6.1 system as the ssh client,
> > and works with the 6.1 system as the ssh server
>
> Is X11Forwarding yes set in the server config of the failing
> direction?

Both seem to be defaulted.

On 6.1:

  $ egrep -C 2 X11Forwarding /etc/ssh/sshd_config
  #AllowTcpForwarding yes
  #GatewayPorts no
  #X11Forwarding yes
  #X11DisplayOffset 10
  #X11UseLocalhost yes

On 8.1:

  $ egrep -C 2 X11Forwarding /etc/ssh/sshd_config
  #AllowTcpForwarding yes
  #GatewayPorts no
  #X11Forwarding yes
  #X11DisplayOffset 10
  #X11UseLocalhost yes
  --
  # Example of overriding settings on a per-user basis
  #Match User anoncvs
  #       X11Forwarding no
  #       AllowTcpForwarding no
  #       ForceCommand cvs server


More information about the freebsd-questions mailing list