Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #263310
| From | Jeffrey Walton <noloader@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: upgrade to bookworm broke ssh x11 forwarding |
| Date | 2023-11-10 01:00 +0100 |
| Message-ID | <Hyn6h-4kFk-1@gated-at.bofh.it> (permalink) |
| References | <HyePn-4fZl-1@gated-at.bofh.it> <Hygo9-4gJ5-3@gated-at.bofh.it> <HyhWV-4hJw-1@gated-at.bofh.it> <Hyi6B-4hN1-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Nov 9, 2023 at 6:16 PM <fxkl47BF@protonmail.com> wrote: > > On Thu, 9 Nov 2023, Jeffrey Walton wrote: > > > On Thu, Nov 9, 2023 at 11:43 AM Greg Wooledge <greg@wooledge.org> wrote: > >> > >> On Thu, Nov 09, 2023 at 03:01:29PM +0000, fxkl47BF@protonmail.com wrote: > >>> i upgraded from bullseye to bookworm with no problems > >>> when i try ssh with -X/-Y to the bookworm machine x11 forwarding fails > >>> > >>> debug1: Requesting X11 forwarding with authentication spoofing. > >>> debug1: Sending environment. > >>> debug1: Sending env LANG = en_US.UTF-8 > >>> debug1: Sending env LC_ALL = en_US.UTF-8 > >>> X11 forwarding request failed on channel 0 > >>> > >>> the .Xauthority file is not updated > >>> is there new security or configuration > >> > >> On the server, run: > >> > >> grep X11 /etc/ssh/sshd_config > >> > >> That should tell you whether X11Forwarding and its related options have > >> been disabled. > > > > Probably need a 'grep -IR' since overrides can be provided in sshd_config.d/ : > > > > $ sudo ls /etc/ssh/sshd_config.d/ > > 10-pubkey_auth.conf 20-no_root_login.conf > > > > And: > > > > $ sudo cat /etc/ssh/sshd_config.d/10-pubkey_auth.conf > > PasswordAuthentication no > > ChallengeResponseAuthentication no > > KerberosAuthentication no > > KerberosOrLocalPasswd no > > GSSAPIAuthentication no > > UsePAM no > > PubkeyAuthentication yes > > my /etc/ssh/sshd_config.d/ is empty /etc/ssh/sshd_config.d/ is where you are supposed to make changes. Otherwise, new config files get written during upgrades, and overwrite the old settings. Changes in sshd_config.d always survive, and always take precedence over the distro's settings. Jeff
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
upgrade to bookworm broke ssh x11 forwarding fxkl47BF@protonmail.com - 2023-11-09 16:10 +0100
Re: upgrade to bookworm broke ssh x11 forwarding Greg Wooledge <greg@wooledge.org> - 2023-11-09 17:50 +0100
Re: upgrade to bookworm broke ssh x11 forwarding fxkl47BF@protonmail.com - 2023-11-09 17:50 +0100
Re: upgrade to bookworm broke ssh x11 forwarding fxkl47BF@protonmail.com - 2023-11-09 18:10 +0100
Re: upgrade to bookworm broke ssh x11 forwarding Greg Wooledge <greg@wooledge.org> - 2023-11-09 19:10 +0100
Re: upgrade to bookworm broke ssh x11 forwarding fxkl47BF@protonmail.com - 2023-11-09 19:40 +0100
Re: upgrade to bookworm broke ssh x11 forwarding Michael <ml@hemathor.de> - 2023-11-10 11:10 +0100
Re: upgrade to bookworm broke ssh x11 forwarding Vincent Lefevre <vincent@vinc17.net> - 2023-11-10 15:50 +0100
Re: upgrade to bookworm broke ssh x11 forwarding fxkl47BF@protonmail.com - 2023-11-10 16:40 +0100
Re: upgrade to bookworm broke ssh x11 forwarding David Wright <deblis@lionunicorn.co.uk> - 2023-11-10 17:20 +0100
Re: upgrade to bookworm broke ssh x11 forwarding <tomas@tuxteam.de> - 2023-11-10 18:50 +0100
Re: upgrade to bookworm broke ssh x11 forwarding tomas@tuxteam.de - 2023-11-10 19:30 +0100
Re: upgrade to bookworm broke ssh x11 forwarding Dan Ritter <dsr@randomstring.org> - 2023-11-10 19:30 +0100
Re: upgrade to bookworm broke ssh x11 forwarding Vincent Lefevre <vincent@vinc17.net> - 2023-11-13 11:20 +0100
Re: upgrade to bookworm broke ssh x11 forwarding <tomas@tuxteam.de> - 2023-11-13 11:20 +0100
Re: upgrade to bookworm broke ssh x11 forwarding Jeffrey Walton <noloader@gmail.com> - 2023-11-09 19:30 +0100
Re: upgrade to bookworm broke ssh x11 forwarding fxkl47BF@protonmail.com - 2023-11-09 19:40 +0100
Re: upgrade to bookworm broke ssh x11 forwarding Jeffrey Walton <noloader@gmail.com> - 2023-11-10 01:00 +0100
csiph-web