strange failure

Damien Miller djm at
Mon Jul 26 12:29:04 AEST 2021

On Sun, 25 Jul 2021, Saint Michael wrote:

> There is a Centos 7 machine where this falls after 80 loops
> target="same host"
> while [ $i -ne 500 ];do
> echo -e "$i"
> ssh -p 22 root@${target} "ls / 1>/dev/null && exit;"
> ((i++))
> done
> The loop does not fail against Ubuntu boxes.
> kindly let me know if I am doing something wrong.

It's very hard to figure out what is wrong without logs (both client
and server), but I'd start by checking your PAM configuration.


More information about the openssh-unix-dev mailing list