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/logfile /path/to/sshd [args...] 7 8log=$1 9shift 10 11exec "$@" -E$log 12