sshd-log-wrapper.sh revision 256281
1144018Sglebius#!/bin/sh 2135396Sglebius# $OpenBSD: sshd-log-wrapper.sh,v 1.3 2013/04/07 02:16:03 dtucker Exp $ 3135396Sglebius# Placed in the Public Domain. 4135396Sglebius# 5135396Sglebius# simple wrapper for sshd proxy mode to catch stderr output 6135396Sglebius# sh sshd-log-wrapper.sh /path/to/sshd /path/to/logfile 7135396Sglebius 8135396Sglebiussshd=$1 9135396Sglebiuslog=$2 10135396Sglebiusshift 11135396Sglebiusshift 12135396Sglebius 13135396Sglebiusexec $sshd -E$log $@ 14135396Sglebius