openssh: update to 9.7p1
This commit is contained in:
@@ -17,13 +17,13 @@ index 1577da159..33857e1d9 100644
|
||||
cp $OBJ/sshd_config $OBJ/sshd_config.orig
|
||||
grep -vi LoginGraceTime $OBJ/sshd_config.orig > $OBJ/sshd_config
|
||||
-echo "LoginGraceTime 10s" >> $OBJ/sshd_config
|
||||
+echo "LoginGraceTime 35s" >> $OBJ/sshd_config
|
||||
+echo "LoginGraceTime 45s" >> $OBJ/sshd_config
|
||||
echo "MaxStartups 1" >> $OBJ/sshd_config
|
||||
start_sshd
|
||||
|
||||
(echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 &
|
||||
-sleep 15
|
||||
+sleep 40
|
||||
+sleep 50
|
||||
${SSH} -F $OBJ/ssh_config somehost true
|
||||
if [ $? -ne 0 ]; then
|
||||
fail "ssh connect after login grace timeout failed"
|
||||
|
||||
Reference in New Issue
Block a user