[Bug 3846] New: Connect failure with large sshd_config
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Jul 3 21:51:23 AEST 2025
https://bugzilla.mindrot.org/show_bug.cgi?id=3846
Bug ID: 3846
Summary: Connect failure with large sshd_config
Product: Portable OpenSSH
Version: 10.0p2
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
Reporter: dbelyavs at redhat.com
I use this test script
$ cat regress/connect_large_sshd.sh
```
# $OpenBSD: connect.sh,v 1.8 2020/01/25 02:57:53 dtucker Exp $
# Placed in the Public Domain.
tid="simple connect"
printf 'Match Group GRP\nChrootDirectory /some/path/for/group/\n%.s'
{1..10000} >> $OBJ/sshd_config
#cat $OBJ/sshd_config
start_sshd
trace "direct connect with large sshd_config"
${SSH} -F $OBJ/ssh_config somehost true
if [ $? -ne 0 ]; then
fail "ssh direct connect with large sshd_config failed"
fi
```
Command
make tests LTESTS=connect_large_sshd INTEROP_TESTS="" SKIP_UNIT=1
fails with the current master and OpenSSH-10.0p1/p2 but succeeds with
9.9p2
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list