summaryrefslogtreecommitdiff
path: root/sftp-server.8
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-01-09 15:57:36 +1100
committerDamien Miller <djm@mindrot.org>2013-01-09 15:57:36 +1100
commit502ab0eff1bba68a1d0492a9d9da3616b0301724 (patch)
tree0a918be1edd1bd893e0f0cc845c6dc0c9549e3d3 /sftp-server.8
parent3739c8f0413bc7a90a1fc3a6c723436bd285bf86 (diff)
- djm@cvs.openbsd.org 2013/01/03 12:54:49
[sftp-server.8 sftp-server.c] allow specification of an alternate start directory for sftp-server(8) "I like this" markus@
Diffstat (limited to 'sftp-server.8')
-rw-r--r--sftp-server.816
1 files changed, 14 insertions, 2 deletions
diff --git a/sftp-server.8 b/sftp-server.8
index bb19c15e1..4d15f1249 100644
--- a/sftp-server.8
+++ b/sftp-server.8
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp-server.8,v 1.19 2010/01/09 03:36:00 jmc Exp $ 1.\" $OpenBSD: sftp-server.8,v 1.20 2013/01/03 12:54:49 djm Exp $
2.\" 2.\"
3.\" Copyright (c) 2000 Markus Friedl. All rights reserved. 3.\" Copyright (c) 2000 Markus Friedl. All rights reserved.
4.\" 4.\"
@@ -22,7 +22,7 @@
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\" 24.\"
25.Dd $Mdocdate: January 9 2010 $ 25.Dd $Mdocdate: January 3 2013 $
26.Dt SFTP-SERVER 8 26.Dt SFTP-SERVER 8
27.Os 27.Os
28.Sh NAME 28.Sh NAME
@@ -31,6 +31,7 @@
31.Sh SYNOPSIS 31.Sh SYNOPSIS
32.Nm sftp-server 32.Nm sftp-server
33.Op Fl ehR 33.Op Fl ehR
34.Op Fl d Ar start_directory
34.Op Fl f Ar log_facility 35.Op Fl f Ar log_facility
35.Op Fl l Ar log_level 36.Op Fl l Ar log_level
36.Op Fl u Ar umask 37.Op Fl u Ar umask
@@ -56,6 +57,17 @@ for more information.
56.Pp 57.Pp
57Valid options are: 58Valid options are:
58.Bl -tag -width Ds 59.Bl -tag -width Ds
60.It Fl d
61specifies an alternate starting directory for users.
62The pathname may contain the following tokens that are expanded at runtime:
63%% is replaced by a literal '%',
64%h is replaced by the home directory of the user being authenticated,
65and %u is replaced by the username of that user.
66The default is to use the user's home directory.
67This option is useful in conjunction with the
68.Xr sshd_config 5
69.Cm ChrootDirectory
70option.
59.It Fl e 71.It Fl e
60Causes 72Causes
61.Nm 73.Nm