ce3adf4362
didn't use them. This will make future merges from the vendor tree much easier. Approved by: re (gjb)
14 lines
293 B
Bash
14 lines
293 B
Bash
#!/bin/sh
|
|
# $OpenBSD: sshd-log-wrapper.sh,v 1.3 2013/04/07 02:16:03 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$log $@
|