sshd-log-wrapper.sh revision 255670
1205512Srpaulo#!/bin/sh 2200928Srpaulo# $OpenBSD: sshd-log-wrapper.sh,v 1.3 2013/04/07 02:16:03 dtucker Exp $ 3200928Srpaulo# Placed in the Public Domain. 4200928Srpaulo# 5200928Srpaulo# simple wrapper for sshd proxy mode to catch stderr output 6200928Srpaulo# sh sshd-log-wrapper.sh /path/to/sshd /path/to/logfile 7200928Srpaulo 8200928Srpaulosshd=$1 9200928Srpaulolog=$2 10200928Srpauloshift 11200928Srpauloshift 12231871Sbrueffer 13231871Sbruefferexec $sshd -E$log $@ 14231871Sbrueffer