xref: /freebsd/crypto/openssh/regress/localcommand.sh (revision 3332f1b444d4a73238e9f59cca27bfc95fe936bd)
1#	$OpenBSD: localcommand.sh,v 1.4 2017/04/30 23:34:55 djm Exp $
2#	Placed in the Public Domain.
3
4tid="localcommand"
5
6echo 'PermitLocalCommand yes' >> $OBJ/ssh_proxy
7echo 'LocalCommand echo foo' >> $OBJ/ssh_proxy
8
9verbose "test $tid: proto $p localcommand"
10a=`${SSH} -F $OBJ/ssh_proxy somehost true`
11if [ "$a" != "foo" ] ; then
12	fail "$tid proto $p"
13fi
14