-# $OpenBSD: rekey.sh,v 1.29 2024/08/22 10:21:02 dtucker Exp $
+# $OpenBSD: rekey.sh,v 1.30 2024/08/28 12:08:26 djm Exp $
# Placed in the Public Domain.
tid="rekey"
4g|4G) bytes=4294967296 ;;
8g|8G) bytes=8589934592 ;;
esac
- b=`${SSH} -G -o "rekeylimit $size" -f $OBJ/ssh_proxy host | \
+ b=`${SSH} -G -o "rekeylimit $size" -F $OBJ/ssh_proxy host | \
awk '/rekeylimit/{print $2}'`
if [ "$bytes" != "$b" ]; then
fatal "rekeylimit size: expected $bytes bytes got $b"
1d|1D) seconds=86400 ;;
1w|1W) seconds=604800 ;;
esac
- s=`${SSH} -G -o "rekeylimit default $time" -f $OBJ/ssh_proxy host | \
+ s=`${SSH} -G -o "rekeylimit default $time" -F $OBJ/ssh_proxy host | \
awk '/rekeylimit/{print $3}'`
if [ "$seconds" != "$s" ]; then
fatal "rekeylimit time: expected $time seconds got $s"