1#!/bin/sh 2# $OpenBSD: sshd-log-wrapper.sh,v 1.3 2013/04/07 02:16:03 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 8sshd=$1 9log=$2 10shift 11shift 12 13exec $sshd -E$log $@ 14