diff --git a/regress/host-expand.sh b/regress/host-expand.sh index c0417d9..5d81feb 100644 --- a/regress/host-expand.sh +++ b/regress/host-expand.sh @@ -3,11 +3,10 @@ tid="expand %h and %n" echo 'PermitLocalCommand yes' >> $OBJ/ssh_proxy -printf 'LocalCommand printf "%%%%s\\n" "%%n" "%%h"\n' >> $OBJ/ssh_proxy +echo 'LocalCommand echo %n-%h' >> $OBJ/ssh_proxy cat >expect <>$log +exec ktrace -i $sshd $@ -e 2>>$log