mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-13 05:26:59 +08:00
dfea3bcdd7
[regress/Makefile regress/rekey.sh regress/integrity.sh regress/sshd-log-wrapper.sh regress/forwarding.sh regress/test-exec.sh] use -E option for ssh and sshd to write debuging logs to ssh{,d}.log and save the output from any failing tests. If a test fails the debug output from ssh and sshd for the failing tests (and only the failing tests) should be available in failed-ssh{,d}.log.
14 lines
293 B
Bash
14 lines
293 B
Bash
#!/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/sshd /path/to/logfile
|
|
|
|
sshd=$1
|
|
log=$2
|
|
shift
|
|
shift
|
|
|
|
exec $sshd -E$log $@
|