Oh right, I forgot that is not enabled out of the box.
 

----- Original message -----
From: "Calvin Buckley" <calvin@xxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: "IBMi Open Source Roundtable" <opensource@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] Re: [IBMiOSS] ssh with x11
Date: Tue, Oct 26, 2021 1:21 PM
 
Make sure X11Forwarding is enabled in the sshd_config file. (use sshd -
ddt to determine its location if unsure) Be sure to restart it when you
change the config file.

I'm curious, what are you using X11 forwarding for?

On Tue, 2021-10-26 at 17:56 +0000, Nihat Ezer via OpenSource wrote:
> Greetings,
>
> Being new to ibm i oss, using git-bash and xming on client side, but
> failed to to connect by ssh with x11
>
> May i kindly ask if anyone here is able to connect with x11 and how
> to do it, or please bag my pardon if it was already answered before?
>
> Here is the one i gave it a try and error message received:
>
> $ export DISPLAY=localhost:0.0
>
> $ ssh -Y -v myuser@as400test
> OpenSSH_8.4p1, OpenSSL 1.1.1i  8 Dec 2020
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Connecting to as400test [xx.xx.xx.xx] port 22.
> debug1: Connection established.
> ..
> ..
> debug1: Authentication succeeded (publickey).
> Authenticated to as400test ([xx.xx.xx.xx]:22).
> debug1: channel 0: new [client-session]
> debug1: Requesting no-more-sessions@xxxxxxxxxxx
> debug1: Entering interactive session.
> debug1: pledge: exec
> debug1: No xauth program.
> Warning: No xauth data; using fake authentication data for X11
> forwarding.
> debug1: Requesting X11 forwarding with authentication spoofing.
> X11 forwarding request failed on channel 0
>
> --
> Cheers,
> Nihat
>
>
> NİHAT EZER      | Bilgi ve İletişim Teknolojileri Çözüm Geliştirme
> Müdürlüğü
>
> Adres : Rüzgarlıbahçe Mah. Çam Pınarı Sok. No: 6 34805
> Beykoz/İstanbul
>
>
>         Santral : 0850 744 07 44
> Faks     : 0850 744 01 77
>
>         Web      :
> www.anadolusigorta.com.tr<[1]http://www.anadolusigorta.com.tr ;>
> E-Posta : nihatezer@xxxxxxxxxxxxxxxxxxxxx
> Cep       : -
>
>
>
>

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [2]https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [3]https://archive.midrange.com/opensource ;.

Help support midrange.com by shopping at amazon.com with our affiliate
link: [4]https://amazon.midrange.com ;

 

References

Visible links
1. http://www.anadolusigorta.com.tr/
2. https://lists.midrange.com/mailman/listinfo/opensource
3. https://archive.midrange.com/opensource
4. https://amazon.midrange.com/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.