[CentOS] ssh -Y X-forwarding?

Wed Jun 5 14:52:37 UTC 2013
Les Mikesell <lesmikesell at gmail.com>

On Wed, Jun 5, 2013 at 5:19 AM,  <me at tdiehl.org> wrote:
> On Tue, 4 Jun 2013, Les Mikesell wrote:
>> On Tue, Jun 4, 2013 at 12:44 PM, Adam Wead <amsterdamos at gmail.com> wrote:
>>> I have to use -X in conjunction with -Y, so ssh -XY remote_host
>> No difference;
>> ssh -Y user at centos_5_host 'echo $DISPLAY'
>> returns
>> localhost:11.0
>> ssh -XY user at centos_6_host 'echo $DISPLAY'
>> returns nothing.
>> /etc/ssh/sshd_config is the default, with:
>> X11Forwarding yes
>> I remember having a similar problem when the xauth program was missing
>> on a box but this one has it installed.
> Do you by chance have ipv6 disabled? If so try adding the following to
> /etc/ssh/sshd_config and restart sshd:
> AddressFamily inet

Bingo - Thank you!   This particular box had some performance issues
with OpenNMS and I had disabled ipv6 among other things while trying
to tune it.   Seems odd that everything else still worked in ssh
without that change, though.

    Les Mikesell at gmail.com