Re: strange failure

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi,

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.

Can you describe the failure? Is there any error message?


> kindly let me know if I am doing something wrong.

There's nothing wrong with the above snippet - that should always
result in 500 times ls output.


> This is my sshd_config

That looks fine to me, nothing in there strikes me as a cause for
intermittent issues.


One thing to keep in mind is that nearly all Linux distributions make
modifications to lots of packages, including OpenSSH, and I've experienced
such distributions changes to cause their OpenSSH packages to malfunction
while the upstream version (as published by this community) doesn't have
those same issues. It can be worthwhile to build the corresponding
upstream version yourself and retest.


Kind regards

//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux