Re: SSH hangs when including command to execute

2022-05-07 Thread C Linus Hicks
On Sat, 2022-05-07 at 18:48 -0700, Gordon Messmer wrote: > On 5/7/22 12:45, C Linus Hicks wrote: > > the remote machines are derivitives of RHEL 6,7,8 > > > You may be running in to a known issue (BZ#1972266), if ForwardX11 is > set in ssh_config on the client and X11Forwarding yes is set in >

Re: SSH hangs when including command to execute

2022-05-07 Thread Gordon Messmer
On 5/7/22 12:45, C Linus Hicks wrote: the remote machines are derivitives of RHEL 6,7,8 You may be running in to a known issue (BZ#1972266), if ForwardX11 is set in ssh_config on the client and X11Forwarding yes is set in sshd_config on the remote host. Check the server for /etc/profile.d/

Re: SSH hangs when including command to execute

2022-05-07 Thread Francis . Montagnac
Ho. On Sat, 07 May 2022 15:45:31 -0400 C Linus Hicks wrote: > When I run ssh like so connecting to a range of other Linux machines: > ssh -l root "set -x; pwd; exit" ... > It will never (I have let it go about ten minutes) actually exit ssh. ... > I'm using public key auth in all cases, the rem

SSH hangs when including command to execute

2022-05-07 Thread C Linus Hicks
Fedora 35 with openssh-8.7p1-3.fc35.x86_64 When I run ssh like so connecting to a range of other Linux machines: ssh -l root "set -x; pwd; exit" /root + pwd + exit or ssh -t -l root "set -x; pwd; exit" + pwd /root + exit or ssh -tt -l root "set -x; pwd; exit" + pwd /root + exit It will ne