mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-30 06:02:07 +00:00
a0f3ba71a0
[multiplex.sh test-exec.sh sshd-log-wrapper.sh] Add optional capability to log output from regress commands; ok markus@ Use with: make TEST_SSH_LOGFILE=/tmp/regress.log
14 lines
297 B
Bash
14 lines
297 B
Bash
#!/bin/sh
|
|
# $OpenBSD: sshd-log-wrapper.sh,v 1.2 2005/02/27 11:40:30 dtucker Exp $
|
|
# Placed in the Public Domain.
|
|
#
|
|
# simple wrapper for sshd proxy mode to catch stderr output
|
|
# sh sshd-log-wrapper.sh /path/to/sshd /path/to/logfile
|
|
|
|
sshd=$1
|
|
log=$2
|
|
shift
|
|
shift
|
|
|
|
exec $sshd $@ -e 2>>$log
|