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 <remote host> "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 remote machines are derivitives
> of RHEL 6,7,8 running in AWS and sometimes across a VPN and sometimes not.

Weird.

There is perhaps some processes spawn by some /etc/profile.d/xxx.sh script.
(or by some PAM module).

To check that:
  - connect first interactively to the remote host
  - from another terminal start such an ssh that hangs
  - from the interative one list the processes involves in the hang
    for example with pstree. Look for the most recent processes sons of some
    sshd 

Try perhaps adding the -n option to ssh to not give stdin to the remote
command, but I think that this will not work.

-- 
francis
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to