1 # $OpenBSD: reconfigure.sh,v 1.2 2003/06/21 09:14:05 markus Exp $
2 # Placed in the Public Domain.
4 tid
="simple connect after reconfigure"
6 # we need the full path to sshd for -HUP
12 # otherwise make fully qualified
18 PID
=`$SUDO cat $PIDFILE`
22 trace
"wait for sshd to restart"
24 while [ ! -f $PIDFILE -a $i -lt 10 ]; do
29 test -f $PIDFILE || fatal
"sshd did not restart"
32 ${SSH} -o "Protocol=$p" -F $OBJ/ssh_config somehost true
34 fail
"ssh connect with protocol $p failed after reconfigure"