1146998Sdes#!/bin/sh 2255670Sdes# $OpenBSD: sshd-log-wrapper.sh,v 1.3 2013/04/07 02:16:03 dtucker Exp $ 3146998Sdes# Placed in the Public Domain. 4146998Sdes# 5146998Sdes# simple wrapper for sshd proxy mode to catch stderr output 6146998Sdes# sh sshd-log-wrapper.sh /path/to/sshd /path/to/logfile 7146998Sdes 8146998Sdessshd=$1 9146998Sdeslog=$2 10146998Sdesshift 11146998Sdesshift 12146998Sdes 13255670Sdesexec $sshd -E$log $@ 14