~ubuntu-branches/ubuntu/lucid/openssh/lucid

« back to all changes in this revision

Viewing changes to regress/sshd-log-wrapper.sh

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-10-10 20:10:01 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051010201001-rno2f5bno6e6wo6t
Tags: upstream-4.1p1
ImportĀ upstreamĀ versionĀ 4.1p1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#       $OpenBSD: sshd-log-wrapper.sh,v 1.2 2005/02/27 11:40:30 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/sshd /path/to/logfile
 
7
 
 
8
sshd=$1
 
9
log=$2
 
10
shift
 
11
shift
 
12
 
 
13
exec $sshd $@ -e 2>>$log