1 # $OpenBSD: host-expand.sh,v 1.4 2015/03/03 22:35:19 markus Exp $
2 # Placed in the Public Domain.
6 echo 'PermitLocalCommand yes' >> $OBJ/ssh_proxy
7 printf 'LocalCommand printf "%%%%s\\n" "%%n" "%%h"\n' >> $OBJ/ssh_proxy
14 for p in ${SSH_PROTOCOLS}; do
15 verbose "test $tid: proto $p"
16 ${SSH} -F $OBJ/ssh_proxy -$p somehost true >$OBJ/actual
17 diff $OBJ/expect $OBJ/actual || fail "$tid proto $p"