From fef95ad81645250b83f7c83233648471d8d0edab Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 10 Jul 2006 20:46:55 +1000 Subject: - djm@cvs.openbsd.org 2006/07/06 10:47:57 [sftp-server.8 sftp-server.c] add commandline options to enable logging of transactions; ok markus@ --- sftp-server.8 | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'sftp-server.8') diff --git a/sftp-server.8 b/sftp-server.8 index 42f5d437c..da68e45fb 100644 --- a/sftp-server.8 +++ b/sftp-server.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sftp-server.8,v 1.10 2003/10/08 08:27:36 jmc Exp $ +.\" $OpenBSD: sftp-server.8,v 1.11 2006/07/06 10:47:57 djm Exp $ .\" .\" Copyright (c) 2000 Markus Friedl. All rights reserved. .\" @@ -30,6 +30,8 @@ .Nd SFTP server subsystem .Sh SYNOPSIS .Nm sftp-server +.Op Fl f Ar log_facility +.Op Fl l Ar log_level .Sh DESCRIPTION .Nm is a program that speaks the server side of SFTP protocol @@ -40,9 +42,36 @@ is not intended to be called directly, but from using the .Cm Subsystem option. +.Pp +Command-line flags to +.Nm +should be specified in the +.Cm Subsystem +declaration. See .Xr sshd_config 5 for more information. +.Pp +Valid options are: +.Bl -tag -width Ds +.It Fl f Ar log_facility +Specifies the facility code that is used when logging messages from +.Nm . +The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2, +LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. +The default is AUTH. +.It Fl l Ar log_level +Specifies which messages will be logged by +.Nm . +The possible values are: +QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3. +INFO and VERBOSE log transactions that +.Nm +performs on behalf of the client. +DEBUG and DEBUG1 are equivalent. +DEBUG2 and DEBUG3 each specify higher levels of debugging output. +The default is ERROR. +.El .Sh SEE ALSO .Xr sftp 1 , .Xr ssh 1 , -- cgit v1.2.3 From 25bd3c06126f0a709af129a2d6606c9a59ff13b2 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 26 Sep 2006 20:14:28 +1000 Subject: - (dtucker) [sftp-server.8] Resync; spotted by djm@ --- ChangeLog | 3 ++- sftp-server.8 | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'sftp-server.8') diff --git a/ChangeLog b/ChangeLog index 308cbc377..083df496a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 20060926 - (dtucker) [bufaux.h] nuke bufaux.h; it's already gone from OpenBSD and not referenced any more. ok djm@ + - (dtucker) [sftp-server.8] Resync; spotted by djm@ 20060924 - (tim) [configure.ac] Remove CFLAGS hack for UnixWare 1.x/2.x (added @@ -2495,4 +2496,4 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.4560 2006/09/26 08:59:34 dtucker Exp $ +$Id: ChangeLog,v 1.4561 2006/09/26 10:14:28 dtucker Exp $ diff --git a/sftp-server.8 b/sftp-server.8 index da68e45fb..199c4f30e 100644 --- a/sftp-server.8 +++ b/sftp-server.8 @@ -85,8 +85,9 @@ The default is ERROR. .%D January 2001 .%O work in progress material .Re -.Sh AUTHORS -.An Markus Friedl Aq markus@openbsd.org .Sh HISTORY .Nm -first appeared in OpenBSD 2.8 . +first appeared in +.Ox 2.8 . +.Sh AUTHORS +.An Markus Friedl Aq markus@openbsd.org -- cgit v1.2.3