blob: c00934c780ba94466423244868f55111f6fc9318 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
# $OpenBSD: sshd-log-wrapper.sh,v 1.3 2013/04/07 02:16:03 dtucker Exp $
# Placed in the Public Domain.
#
# simple wrapper for sshd proxy mode to catch stderr output
# sh sshd-log-wrapper.sh /path/to/logfile /path/to/sshd [args...]
log=$1
shift
exec "$@" -E$log
|