diff options
Diffstat (limited to 'regress/usr.bin/ssh/sshd-log-wrapper.sh')
-rw-r--r-- | regress/usr.bin/ssh/sshd-log-wrapper.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/regress/usr.bin/ssh/sshd-log-wrapper.sh b/regress/usr.bin/ssh/sshd-log-wrapper.sh new file mode 100644 index 00000000000..a877609a6e2 --- /dev/null +++ b/regress/usr.bin/ssh/sshd-log-wrapper.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# $OpenBSD: sshd-log-wrapper.sh,v 1.1 2005/02/27 11:33:30 dtucker Exp $ +# Placed in the Public Domain. +# +# simple wrapper for sshd proxy mode to catch stderr output +# sh sshd-log-wrapper.sh /path/to/sshd /path/to/logfile + +sshd=$1 +log=$2 +shift +shift + +exec $sshd $@ -e 2>$log |