xref: /freebsd/crypto/openssh/regress/localcommand.sh (revision 29fc4075e69fd27de0cded313ac6000165d99f8b)
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