]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - 6/crypto/openssh/regress/sshd-log-wrapper.sh
Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64
[FreeBSD/FreeBSD.git] / 6 / crypto / openssh / regress / sshd-log-wrapper.sh
1 #!/bin/sh
2 #       $OpenBSD: sshd-log-wrapper.sh,v 1.2 2005/02/27 11:40:30 dtucker Exp $
3 #       Placed in the Public Domain.
4 #
5 # simple wrapper for sshd proxy mode to catch stderr output
6 # sh sshd-log-wrapper.sh /path/to/sshd /path/to/logfile
7
8 sshd=$1
9 log=$2
10 shift
11 shift
12
13 exec $sshd $@ -e 2>>$log