1# $OpenBSD: connect-bigconf.sh,v 1.1 2025/07/04 07:52:17 djm Exp $ 2# Placed in the Public Domain. 3 4tid="simple connect" 5 6for x in `jot 10000 1` ; do 7 echo "Match version NONEXIST" >> $OBJ/sshd_config 8 echo "ChrootDirectory /some/path/for/group/NONEXIST" >> $OBJ/sshd_config 9done 10#cat $OBJ/sshd_config 11start_sshd 12 13trace "direct connect with large sshd_config" 14${SSH} -F $OBJ/ssh_config somehost true 15if [ $? -ne 0 ]; then 16 fail "ssh direct connect with large sshd_config failed" 17fi 18