sshd-log-wrapper.sh revision 146998
1151825Sru#!/bin/sh 2151825Sru# $OpenBSD: sshd-log-wrapper.sh,v 1.2 2005/02/27 11:40:30 dtucker Exp $ 3151825Sru# Placed in the Public Domain. 4151825Sru# 5151825Sru# simple wrapper for sshd proxy mode to catch stderr output 6151825Sru# sh sshd-log-wrapper.sh /path/to/sshd /path/to/logfile 7151825Sru 8151825Srusshd=$1 9151825Srulog=$2 10151825Srushift 11151825Srushift 12151825Sru 13151825Sruexec $sshd $@ -e 2>>$log 14151825Sru