- (dtucker) [contrib/aix/buildbff.sh] Fix creation of ssh_prng_cmds.default
[openssh-git.git] / regress / sshd-log-wrapper.sh
blobc7a5ef3a6809270d6a04f0f5621616c4ab9613b5
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.
5 # simple wrapper for sshd proxy mode to catch stderr output
6 # sh sshd-log-wrapper.sh /path/to/sshd /path/to/logfile
8 sshd=$1
9 log=$2
10 shift
11 shift
13 exec $sshd $@ -e 2>>$log